diff options
| author | Ard Biesheuvel <abies@php.net> | 2004-01-07 09:44:21 +0000 |
|---|---|---|
| committer | Ard Biesheuvel <abies@php.net> | 2004-01-07 09:44:21 +0000 |
| commit | a85cfe5b1498ca6a77c9fcb07c78f7ec4b34aaa8 (patch) | |
| tree | bf295df9717cfe0194b8253181d2a8e8e397be89 | |
| parent | f7aef14323266c2eb77a564ddf4e1258718212a5 (diff) | |
| download | php-git-a85cfe5b1498ca6a77c9fcb07c78f7ec4b34aaa8.tar.gz | |
MFH: Let DB handle NULL params, fixes bug #26777
| -rw-r--r-- | ext/interbase/interbase.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ext/interbase/interbase.c b/ext/interbase/interbase.c index c2c4df728f..3e1ff95b3a 100644 --- a/ext/interbase/interbase.c +++ b/ext/interbase/interbase.c @@ -1195,12 +1195,6 @@ static int _php_ibase_bind(XSQLDA *sqlda, zval **b_vars, BIND_BUF *buf, ibase_qu 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; |
