]> granicus.if.org Git - php/commitdiff
MFH: change return value from false to true, when a statement was executed with warnings
authorFrank M. Kromann <fmk@php.net>
Wed, 9 Feb 2005 19:33:32 +0000 (19:33 +0000)
committerFrank M. Kromann <fmk@php.net>
Wed, 9 Feb 2005 19:33:32 +0000 (19:33 +0000)
ext/fbsql/php_fbsql.c

index 2e0a9544b9c22145312899e781a14f0dee663e81..88c7f494181e838ea573fec0b86e56bb52bfa96b 100644 (file)
@@ -1859,7 +1859,7 @@ static void phpfbQuery(INTERNAL_FUNCTION_PARAMETERS, char* sql, PHPFBLink* link)
                tp = fbcmdStatementType(md);
                if (tp == NULL) {
                        fbcmdRelease(meta);
-                       ZVAL_BOOL(return_value, 0)
+                       ZVAL_BOOL(return_value, 1)
                }
                else if ((tp[0] == 'C') || (tp[0] == 'R'))
                        {