From c0b28e54846147728e44eba1baf329ff20744b48 Mon Sep 17 00:00:00 2001 From: "Frank M. Kromann" Date: Wed, 9 Feb 2005 19:33:32 +0000 Subject: [PATCH] MFH: change return value from false to true, when a statement was executed with warnings --- ext/fbsql/php_fbsql.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')) { -- 2.40.0