Patch php5-bug60052.patch for PDO Firebird Bug #60052
Patch version 2013-09-26 06:21 UTC
Return to Bug #60052 |
Download this patch
Patch Revisions:
Developer: slavb18@gmail.com
--- ext/pdo_firebird.orig/firebird_statement.c 2013-09-21 09:09:11.000000000 +0400
+++ ext/pdo_firebird/firebird_statement.c 2013-09-25 20:14:21.000000000 +0400
@@ -369,7 +369,7 @@
break;
case SQL_LONG:
*ptr = FETCH_BUF(S->fetch_buf[colno], char, CHAR_BUF_LEN, NULL);
- *len = slprintf(*ptr, CHAR_BUF_LEN, "%ld", *(ISC_LONG*)var->sqldata);
+ *len = slprintf(*ptr, CHAR_BUF_LEN, "%d", *(ISC_LONG*)var->sqldata);
break;
case SQL_INT64:
*ptr = FETCH_BUF(S->fetch_buf[colno], char, CHAR_BUF_LEN, NULL);
|