svn: /php/php-src/branches/PHP_5_3/ext/interbase/ ibase_query.c
| From: | Popa Adrian Marius | Date: | Tue, 19 Jul 2011 20:25:51 +0000 |
| Subject: | svn: /php/php-src/branches/PHP_5_3/ext/interbase/ ibase_query.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-65538@lists.php.net to get a copy of this message | ||
mariuz Tue, 19 Jul 2011 20:25:51 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=313447
Log:
Fix for bug http://bugs.php.net/54426
Checks for NULL are wrong as the values can be provided by the triggers
Changed paths:
U php/php-src/branches/PHP_5_3/ext/interbase/ibase_query.c
Modified: php/php-src/branches/PHP_5_3/ext/interbase/ibase_query.c
===================================================================
--- php/php-src/branches/PHP_5_3/ext/interbase/ibase_query.c 2011-07-19 20:23:26 UTC (rev 313446)
+++ php/php-src/branches/PHP_5_3/ext/interbase/ibase_query.c 2011-07-19 20:25:51 UTC (rev 313447)
@@ -672,14 +672,7 @@
if (! force_null) break;
case IS_NULL:
-
- /* complain if this field doesn't allow NULL values */
- if (! (var->sqltype & 1)) {
- _php_ibase_module_error("Parameter %d: non-empty value required" TSRMLS_CC, i+1);
- rv = FAILURE;
- } else {
buf[i].sqlind = -1;
- }
if (var->sqltype & SQL_ARRAY) ++array_cnt;