php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #61939
Patch php5-bug61939.patch revision 2013-09-16 10:09 UTC by slavb18 at gmail dot com

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, 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 07 10:01:32 2024 UTC