diff options
author | Popa Adrian Marius <mariuz@php.net> | 2011-07-19 20:25:51 +0000 |
---|---|---|
committer | Popa Adrian Marius <mariuz@php.net> | 2011-07-19 20:25:51 +0000 |
commit | 23e564762a10d849eb562447e96ec0c0d2945b9e (patch) | |
tree | 367c6fa9408d6a00ee411cdb30b47a2be7c4b122 /ext/interbase | |
parent | e825d1b5791144a17add37c9e8b2782a4da249cd (diff) | |
download | php-git-23e564762a10d849eb562447e96ec0c0d2945b9e.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')
-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 b492f256b1..ece3c9435e 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; |