From: Ard Biesheuvel Date: Thu, 11 Nov 2004 12:29:34 +0000 (+0000) Subject: MFH: fix return value of ibase_execute() X-Git-Tag: php-5.0.3RC1~76 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=586f73b1ee01208976f86ecdec32f8383d6e0e17;p=php MFH: fix return value of ibase_execute() --- 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);