abies Sun Feb 15 13:43:47 2004 EDT
Modified files: (Branch: PHP_4_3)
/php-src/ext/interbase interbase.c
Log:
MFH reverted fix for #26777
http://cvs.php.net/diff.php/php-src/ext/interbase/interbase.c?r1=1.91.2.29&r2=1.91.2.30&ty=u
Index: php-src/ext/interbase/interbase.c
diff -u php-src/ext/interbase/interbase.c:1.91.2.29
php-src/ext/interbase/interbase.c:1.91.2.30
--- php-src/ext/interbase/interbase.c:1.91.2.29 Fri Feb 13 05:43:22 2004
+++ php-src/ext/interbase/interbase.c Sun Feb 15 13:43:46 2004
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: interbase.c,v 1.91.2.29 2004/02/13 10:43:22 abies Exp $ */
+/* $Id: interbase.c,v 1.91.2.30 2004/02/15 18:43:46 abies Exp $ */
/* TODO: Arrays, roles?
@@ -643,7 +643,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.29 $");
+ php_info_print_table_row(2, "Revision", "$Revision: 1.91.2.30 $");
#ifdef COMPILE_DL_INTERBASE
php_info_print_table_row(2, "Dynamic Module", "yes");
#endif
@@ -1214,6 +1214,12 @@
var->sqlind = &buf[i].sqlind;
if (Z_TYPE_P(b_var) == IS_NULL) {
+
+ if ((var->sqltype & 1) != 1) {
+ _php_ibase_module_error("Parameter %d must have a
value" TSRMLS_CC, i+1);
+ rv = FAILURE;
+ }
+
buf[i].sqlind = -1;
} else {
buf[i].sqlind = 0;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php