]> granicus.if.org Git - php/commitdiff
MFB: Fixed bug #48189 (ibase_execute error in return param)
authorKalle Sommer Nielsen <kalle@php.net>
Sat, 25 Jul 2009 23:39:21 +0000 (23:39 +0000)
committerKalle Sommer Nielsen <kalle@php.net>
Sat, 25 Jul 2009 23:39:21 +0000 (23:39 +0000)
ext/interbase/ibase_query.c

index f9242e7bccf74dfda81bd9f15051ab4b3763894a..657ed580dd06bfe6b7cfa4f40e876f9964fc8f04 100644 (file)
@@ -1029,8 +1029,7 @@ static int _php_ibase_exec(INTERNAL_FUNCTION_PARAMETERS, ibase_result **ib_resul
                                if (affected_rows) {
                                        RETVAL_LONG(affected_rows);
                                } else {
-                                       /* this return value evaluates to bool(true) and to int(0) */
-                                       RETVAL_STRINGL("0 ",2,1);
+                                       RETVAL_TRUE;
                                }
                                break;
                        }