]> granicus.if.org Git - php/commitdiff
- Fixed bug #11924 (ibase_query() and ibase_execute() mangled passed
authorfoobar <sniper@php.net>
Thu, 10 Jul 2003 00:17:09 +0000 (00:17 +0000)
committerfoobar <sniper@php.net>
Thu, 10 Jul 2003 00:17:09 +0000 (00:17 +0000)
  parameter variables)

ext/interbase/interbase.c

index 86a52e4c3594a7fd948e3c44feb83321ec66c189..494fc6bb426f7a9ab4c7a1b10e315839ca5445a7 100644 (file)
@@ -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 */