mariuz Tue, 19 Jul 2011 20:23:26 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=313446
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_4/ext/interbase/ibase_query.c Modified: php/php-src/branches/PHP_5_4/ext/interbase/ibase_query.c =================================================================== --- php/php-src/branches/PHP_5_4/ext/interbase/ibase_query.c 2011-07-19 20:08:42 UTC (rev 313445) +++ php/php-src/branches/PHP_5_4/ext/interbase/ibase_query.c 2011-07-19 20:23:26 UTC (rev 313446) @@ -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;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php