summaryrefslogtreecommitdiff
path: root/ext/pgsql/pgsql.c
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2002-04-21 10:28:01 +0000
committerSascha Schumann <sas@php.net>2002-04-21 10:28:01 +0000
commitc6016fcfd203bb7dd49350e5f65a58bd0838b4a1 (patch)
treee56d74ed1b214874c86c58852943a42007d690f8 /ext/pgsql/pgsql.c
parentdb24a14b9b4dffa562fab15dde296b2116f548e4 (diff)
downloadphp-git-c6016fcfd203bb7dd49350e5f65a58bd0838b4a1.tar.gz
The default has been changed to assume failure, because there were 5-10
cases of failure and one success.
Diffstat (limited to 'ext/pgsql/pgsql.c')
-rw-r--r--ext/pgsql/pgsql.c2
1 files changed, 1 insertions, 1 deletions
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);