From: Frank M. Kromann Date: Fri, 22 Feb 2002 19:03:11 +0000 (+0000) Subject: Return true on update success. X-Git-Tag: php-4.2.0RC1~298 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=db63c9e29182a399cd7bfc84dfe69d2f1308d4c8;p=php Return true on update success. --- diff --git a/ext/fbsql/php_fbsql.c b/ext/fbsql/php_fbsql.c index abf4bc36bb..4d5ceef76a 100644 --- a/ext/fbsql/php_fbsql.c +++ b/ext/fbsql/php_fbsql.c @@ -1858,7 +1858,7 @@ static void phpfbQuery(INTERNAL_FUNCTION_PARAMETERS, char* sql, PHPFBLink* link) } ZEND_REGISTER_RESOURCE(return_value, result, le_result); } - else if (tp[0] == 'I' || tp[0] == 'I') + else if (tp[0] == 'I' || tp[0] == 'U') { if (tp[0] == 'I') link->insert_id = fbcmdRowIndex(md); if (sR == 1 && md) fbcmdRelease(md);