From: Sascha Schumann Date: Sun, 21 Apr 2002 10:28:01 +0000 (+0000) Subject: The default has been changed to assume failure, because there were 5-10 X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~520 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c6016fcfd203bb7dd49350e5f65a58bd0838b4a1;p=php The default has been changed to assume failure, because there were 5-10 cases of failure and one success. --- diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index 808111a5b2..5c23020fd1 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -4074,7 +4074,7 @@ PHPAPI int php_pgsql_update(PGconn *pg_link, const char *table, zval *var_array, { zval *var_converted = NULL, *ids_converted = NULL; smart_str querystr = {0}; - int ret = SUCCESS; + int ret = FAILURE; assert(pg_link != NULL); assert(table != NULL);