Author: phd
Date: Wed Dec 14 10:44:09 2011
New Revision: 4496
Log:
No need to increase self._connectionCount - DBAPI.getConnection will do it.
Modified:
SQLObject/trunk/sqlobject/postgres/pgconnection.py
Modified: SQLObject/trunk/sqlobject/postgres/pgconnection.py
==============================================================================
--- SQLObject/trunk/sqlobject/postgres/pgconnection.py Wed Dec 14 10:32:43 2011 (r4495)
+++ SQLObject/trunk/sqlobject/postgres/pgconnection.py Wed Dec 14 10:44:09 2011 (r4496)
@@ -143,7 +143,6 @@
# For printDebug in _executeRetry
self._connectionNumbers[id(conn)] = self._connectionCount
- self._connectionCount += 1
if self.autoCommit: self._setAutoCommit(conn, 1)
c = conn.cursor()
|