Skip site navigation (1) Skip section navigation (2)

SVN Commit by dpage: r4238 - trunk/pgadmin3/xtra/pgagent

From: svn(at)pgadmin(dot)org
To: pgadmin-hackers(at)postgresql(dot)org
Subject: SVN Commit by dpage: r4238 - trunk/pgadmin3/xtra/pgagent
Date: 2005-05-23 18:47:57
Message-ID: 200505231847.j4NIlvbH028493@developer.pgadmin.org (view raw or flat)
Thread:
Lists: pgadmin-hackers
Author: dpage
Date: 2005-05-23 19:47:57 +0100 (Mon, 23 May 2005)
New Revision: 4238

Modified:
   trunk/pgadmin3/xtra/pgagent/connection.cpp
Log:
Reset connections to default state when returning to the pool.

Modified: trunk/pgadmin3/xtra/pgagent/connection.cpp
===================================================================
--- trunk/pgadmin3/xtra/pgagent/connection.cpp	2005-05-23 15:42:55 UTC (rev 4237)
+++ trunk/pgadmin3/xtra/pgagent/connection.cpp	2005-05-23 18:47:57 UTC (rev 4238)
@@ -139,6 +139,8 @@
 {
 	wxMutexLocker lock(s_PoolLock);
 
+	// Cleanup
+	this->ExecuteVoid(wxT("RESET ALL"));
 	this->lastError.Empty();
 
 	LogMessage(_("Returning connection to database ") + this->dbname, LOG_DEBUG);


pgadmin-hackers by date

Next:From: svnDate: 2005-05-23 18:58:43
Subject: SVN Commit by dpage: r4239 - in trunk/pgadmin3: src/agent xtra/pgagent
Previous:From: svnDate: 2005-05-23 15:42:55
Subject: SVN Commit by dpage: r4237 - trunk/pgadmin3/src/agent

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group