From: Frank M. Kromann <fmk@php.net>
Date: Wed, 9 Feb 2005 19:33:32 +0000 (+0000)
Subject: MFH: change return value from false to true, when a statement was executed with warnings
X-Git-Tag: php-4.3.11RC1~71
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c0b28e54846147728e44eba1baf329ff20744b48;p=php

MFH: change return value from false to true, when a statement was executed with warnings
---

diff --git a/ext/fbsql/php_fbsql.c b/ext/fbsql/php_fbsql.c
index 2e0a9544b9..88c7f49418 100644
--- a/ext/fbsql/php_fbsql.c
+++ b/ext/fbsql/php_fbsql.c
@@ -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'))
 			{