PHP CVS 26 CVS PHP SRC EXT INTERBASE INTERBASE C
Date: Thu, 10 Jul 2003 00:17:09 -0000

Subject: cvs: php-src /ext/interbase interbase.c
From: sniper@no-spam (Jani Taskinen)

sniper Wed Jul 9 20:17:09 2003 EDT
Modified files: /php-src/ext/interbase interbase.c Log:
- Fixed bug #11924 (ibase_query() and ibase_execute() mangled passed parameter variables)
Index: php-src/ext/interbase/interbase.c diff -u php-src/ext/interbase/interbase.c:1.111 php-src/ext/interbase/interbase.c:1.112

--- php-src/ext/interbase/interbase.c:1.111 Mon Jun 16 06:41:42 2003
+++ php-src/ext/interbase/interbase.c Wed Jul 9 20:17:09 2003
@@no-spam -17,7 +17,7 @@no-spam +----------------------------------------------------------------------+
*/
-/* $Id: interbase.c,v 1.111 2003/06/16 10:41:42 daniela Exp $ */
+/* $Id: interbase.c,v 1.112 2003/07/10 00:17:09 sniper Exp $ */
/* TODO: Arrays, roles?
@@no-spam -628,7 +628,7 @@no-spam php_info_print_table_start();
php_info_print_table_row(2, "Interbase Support", "enabled");
- php_info_print_table_row(2, "Revision", "$Revision: 1.111 $");
+ php_info_print_table_row(2, "Revision", "$Revision: 1.112 $");
#ifdef COMPILE_DL_INTERBASE php_info_print_table_row(2, "Dynamic Module", "yes");
#endif @@no-spam -1432,6 +1432,10 @@no-spam int rv = FAILURE;

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 */