cvs: php-src(PHP_4_3) /ext/interbase interbase.c
| From: | Ard Biesheuvel | Date: | Wed, 07 Jan 2004 09:44:23 +0000 |
| Subject: | cvs: php-src(PHP_4_3) /ext/interbase interbase.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-25544@lists.php.net to get a copy of this message | ||
abies Wed Jan 7 04:44:23 2004 EDT
Modified files: (Branch: PHP_4_3)
/php-src/ext/interbase interbase.c
Log:
MFH: Let DB handle NULL params, fixes bug #26777
Index: php-src/ext/interbase/interbase.c
diff -u php-src/ext/interbase/interbase.c:1.91.2.26 php-src/ext/interbase/interbase.c:1.91.2.27
--- php-src/ext/interbase/interbase.c:1.91.2.26 Mon Dec 8 04:46:07 2003
+++ php-src/ext/interbase/interbase.c Wed Jan 7 04:44:21 2004
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: interbase.c,v 1.91.2.26 2003/12/08 09:46:07 abies Exp $ */
+/* $Id: interbase.c,v 1.91.2.27 2004/01/07 09:44:21 abies Exp $ */
/* TODO: Arrays, roles?
@@ -624,7 +624,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.26 $");
+ php_info_print_table_row(2, "Revision", "$Revision: 1.91.2.27 $");
#ifdef COMPILE_DL_INTERBASE
php_info_print_table_row(2, "Dynamic Module", "yes");
#endif
@@ -1195,12 +1195,6 @@
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;