[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pear-cvs
Subject:    [PEAR-CVS] cvs: pear /PECL/session_pgsql session_pgsql.c
From:       "Yasuo Ohgaki" <yohgaki () dd ! iij4u ! or ! jp>
Date:       2001-12-30 1:25:14
[Download RAW message or body]

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;
 }
 



-- 
PEAR CVS Mailing List (http://pear.php.net/)
To unsubscribe, e-mail: pear-cvs-unsubscribe@lists.php.net
For additional commands, e-mail: pear-cvs-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic