cvs: pear /PECL/session_pgsql session_pgsql.c
| From: | Yasuo Ohgaki | Date: | Sun, 30 Dec 2001 01:25:14 +0000 |
| Subject: | cvs: pear /PECL/session_pgsql session_pgsql.c | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-1774@lists.php.net to get a copy of this message | ||
yohgaki Sat Dec 29 20:25:14 2001 EDT
Modified files:
/pear/PECL/session_pgsql session_pgsql.c
Log:
Comment out cleanup.
# I'll see if this does not cause any problem
Index: pear/PECL/session_pgsql/session_pgsql.c
diff -u pear/PECL/session_pgsql/session_pgsql.c:1.3 pear/PECL/session_pgsql/session_pgsql.c:1.4
--- pear/PECL/session_pgsql/session_pgsql.c:1.3 Sat Dec 29 19:55:43 2001
+++ pear/PECL/session_pgsql/session_pgsql.c Sat Dec 29 20:25:14 2001
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: session_pgsql.c,v 1.3 2001/12/30 00:55:43 yohgaki Exp $ */
+/* $Id: session_pgsql.c,v 1.4 2001/12/30 01:25:14 yohgaki Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -24,6 +24,7 @@
#include <sys/time.h>
#include "php.h"
+#include "php_ini.h"
#include "ext/session/php_session.h"
#ifdef HAVE_LIBPQ
@@ -101,11 +102,11 @@
int ret = SUCCESS;
/* clean up link just in case */
- pg_result = PQexec(PS_PGSQL(pgsql_link), "BEGIN;END;");
- if (PQresultStatus(pg_result) != PGRES_COMMAND_OK) {
- ret = FAILURE;
- }
- PQclear(pg_result);
+/* pg_result = PQexec(PS_PGSQL(pgsql_link), "BEGIN;END;"); */
+/* if (PQresultStatus(pg_result) != PGRES_COMMAND_OK) { */
+/* ret = FAILURE; */
+/* } */
+/* PQclear(pg_result); */
return ret;
}