cvs: php4 /ext/pgsql pgsql.c
| From: | Sascha Schumann | Date: | Sun, 21 Apr 2002 10:28:01 +0000 |
| Subject: | cvs: php4 /ext/pgsql pgsql.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-11289@lists.php.net to get a copy of this message | ||
sas Sun Apr 21 06:28:01 2002 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
The default has been changed to assume failure, because there were 5-10
cases of failure and one success.
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.188 php4/ext/pgsql/pgsql.c:1.189
--- php4/ext/pgsql/pgsql.c:1.188 Sun Apr 21 06:22:31 2002
+++ php4/ext/pgsql/pgsql.c Sun Apr 21 06:28:01 2002
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: pgsql.c,v 1.188 2002/04/21 10:22:31 sas Exp $ */
+/* $Id: pgsql.c,v 1.189 2002/04/21 10:28:01 sas Exp $ */
#include <stdlib.h>
@@ -4074,7 +4074,7 @@
{
zval *var_converted = NULL, *ids_converted = NULL;
smart_str querystr = {0};
- int ret = SUCCESS;
+ int ret = FAILURE;
assert(pg_link != NULL);
assert(table != NULL);