Patch php5-bug61939.patch for PDO related Bug #61939
Patch version 2013-09-16 10:09 UTC
Return to Bug #61939 |
Download this patch
Patch Revisions:
Developer: slavb18@gmail.com
--- ext/pdo_firebird/firebird_statement.c.orig 2013-09-09 11:02:50.000000000 +0400
+++ ext/pdo_firebird/firebird_statement.c 2013-09-13 12:43:20.000000000 +0400
@@ -308,7 +308,7 @@
*ptr = NULL;
*len = 0;
} else {
- if (var->sqlscale < 0) {
+ if (var->sqlscale < 0 && (var->sqltype & ~1) != SQL_DOUBLE) {
static ISC_INT64 const scales[] = { 1, 10, 100, 1000,
10000,
100000,
|