mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fixed return value of ibase_execute()
This commit is contained in:
parent
e52d178674
commit
bb5ce07f8c
1 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue