diff options
author | foobar <sniper@php.net> | 2003-07-10 00:17:09 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2003-07-10 00:17:09 +0000 |
commit | b645c60bd5aec44cb447ca7ab0af7b79776239ab (patch) | |
tree | cad0c758dca73869339cda54affdd4f7ba20adbb | |
parent | bf7f45601d4e3b7f1e5e6d3b4267b048256673ea (diff) | |
download | php-git-b645c60bd5aec44cb447ca7ab0af7b79776239ab.tar.gz |
- Fixed bug #11924 (ibase_query() and ibase_execute() mangled passed
parameter variables)
-rw-r--r-- | ext/interbase/interbase.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/interbase/interbase.c b/ext/interbase/interbase.c index 86a52e4c35..494fc6bb42 100644 --- a/ext/interbase/interbase.c +++ b/ext/interbase/interbase.c @@ -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 */ |