diff options
author | Ard Biesheuvel <abies@php.net> | 2004-11-10 11:21:50 +0000 |
---|---|---|
committer | Ard Biesheuvel <abies@php.net> | 2004-11-10 11:21:50 +0000 |
commit | bb5ce07f8c6f0ce8467c544d48ce88a2ed9ecc1c (patch) | |
tree | 2a5999112181c6b4d5bcce0d76a1c2524a8fc043 | |
parent | e52d1786745a4c604a9674a19a89bcc564a793b0 (diff) | |
download | php-git-bb5ce07f8c6f0ce8467c544d48ce88a2ed9ecc1c.tar.gz |
Fixed return value of ibase_execute()
-rw-r--r-- | ext/interbase/ibase_query.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/interbase/ibase_query.c b/ext/interbase/ibase_query.c index c4cdbf2c56..340a4d7345 100644 --- a/ext/interbase/ibase_query.c +++ b/ext/interbase/ibase_query.c @@ -910,6 +910,9 @@ static int _php_ibase_exec(INTERNAL_FUNCTION_PARAMETERS, ibase_result **ib_resul so we have to release it */ zend_list_delete(ib_query->trans_res_id); } + + RETVAL_TRUE; + return SUCCESS; default: @@ -1856,8 +1859,6 @@ PHP_FUNCTION(ibase_execute) } ib_query->result_res_id = zend_list_insert(result, le_result); RETVAL_RESOURCE(ib_query->result_res_id); - } else { - RETVAL_TRUE; } } while (0); |