From: Frank M. Kromann Date: Wed, 9 Feb 2005 19:32:45 +0000 (+0000) Subject: MFH: change return value from false to true, when a statement was executed with warnings X-Git-Tag: php-5.0.4RC1~183 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=04a262ffe25a3f5b9a55c844bc5e35ae06799ef5;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 b91877a605..6b24109aad 100644 --- a/ext/fbsql/php_fbsql.c +++ b/ext/fbsql/php_fbsql.c @@ -1915,7 +1915,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')) {