mirror of
https://github.com/php/php-src.git
synced 2024-09-23 19:07:26 +00:00
- Fixed bug #11924 (ibase_query() and ibase_execute() mangled passed
parameter variables)
This commit is contained in:
parent
bf7f45601d
commit
b645c60bd5
@ -1432,6 +1432,10 @@ static int _php_ibase_exec(ibase_result **ib_resultp, ibase_query *ib_query, int
|
||||
int rv = FAILURE;
|
||||
|
||||
IB_RESULT = NULL;
|
||||
|
||||
if (argc > 0 && args != NULL) {
|
||||
SEPARATE_ZVAL(args);
|
||||
}
|
||||
|
||||
/* allocate sqlda and output buffers */
|
||||
if (ib_query->out_sqlda) { /* output variables in select, select for update */
|
||||
|
Loading…
Reference in New Issue
Block a user