diff options
author | Popa Adrian Marius <mariuz@php.net> | 2011-07-19 20:08:42 +0000 |
---|---|---|
committer | Popa Adrian Marius <mariuz@php.net> | 2011-07-19 20:08:42 +0000 |
commit | fcf8f2bcaf1cd506424e8ce6d93ec57a54c404a0 (patch) | |
tree | d3a01bf4345747b23249c6c51e5d29eeb56453dd /ext/interbase/ibase_query.c | |
parent | 9f98a430fd2b7e18635cb2a3a3bab157eee06a41 (diff) | |
download | php-git-fcf8f2bcaf1cd506424e8ce6d93ec57a54c404a0.tar.gz |
Fix for bug http://bugs.php.net/54426
Checks for NULL are wrong as the values can be provided by the triggers
Diffstat (limited to 'ext/interbase/ibase_query.c')
-rw-r--r-- | ext/interbase/ibase_query.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/ext/interbase/ibase_query.c b/ext/interbase/ibase_query.c index b9e8db8781..9eac22284b 100644 --- a/ext/interbase/ibase_query.c +++ b/ext/interbase/ibase_query.c @@ -672,14 +672,7 @@ static int _php_ibase_bind(XSQLDA *sqlda, zval ***b_vars, BIND_BUF *buf, /* {{{ 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; |