sniper Wed Jul 9 20:17:40 2003 EDT
Modified files: (Branch: PHP_4_3)
/php-src/ext/interbase interbase.c
Log:
MFH: Fixed bug #11924 (ibase_query() and ibase_execute() mangled passed parameters)
Index: php-src/ext/interbase/interbase.c
diff -u php-src/ext/interbase/interbase.c:1.91.2.10
php-src/ext/interbase/interbase.c:1.91.2.11
--- php-src/ext/interbase/interbase.c:1.91.2.10 Mon Jun 16 06:47:35 2003
+++ php-src/ext/interbase/interbase.c Wed Jul 9 20:17:40 2003
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: interbase.c,v 1.91.2.10 2003/06/16 10:47:35 daniela Exp $ */
+/* $Id: interbase.c,v 1.91.2.11 2003/07/10 00:17:40 sniper Exp $ */
/* TODO: Arrays, roles?
@@ -628,7 +628,7 @@
php_info_print_table_start();
php_info_print_table_row(2, "Interbase Support", "enabled");
- php_info_print_table_row(2, "Revision", "$Revision: 1.91.2.10 $");
+ php_info_print_table_row(2, "Revision", "$Revision: 1.91.2.11 $");
#ifdef COMPILE_DL_INTERBASE
php_info_print_table_row(2, "Dynamic Module", "yes");
#endif
@@ -1434,6 +1434,10 @@
TSRMLS_FETCH();
IB_RESULT = NULL;
+
+ if (argc > 0 && args != NULL) {
+ SEPARATE_ZVAL(args);
+ }
/* allocate sqlda and output buffers */
if (ib_query->out_sqlda) { /* output variables in select, select for update */
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php