]> granicus.if.org Git - php/commitdiff
The default has been changed to assume failure, because there were 5-10
authorSascha Schumann <sas@php.net>
Sun, 21 Apr 2002 10:28:01 +0000 (10:28 +0000)
committerSascha Schumann <sas@php.net>
Sun, 21 Apr 2002 10:28:01 +0000 (10:28 +0000)
cases of failure and one success.

ext/pgsql/pgsql.c

index 808111a5b24b6a481649a76388edda6bf721653e..5c23020fd1a9ff4d55489164b43aa7c0b0bff48e 100644 (file)
@@ -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);