Author: phd
Date: Wed Feb 1 09:06:46 2012
New Revision: 4497
Log:
A bug was fixed in SQLiteConnection - clear _threadPool on close().
Modified:
SQLObject/branches/1.1/docs/News.txt
SQLObject/branches/1.1/sqlobject/sqlite/sqliteconnection.py
Modified: SQLObject/branches/1.1/docs/News.txt
==============================================================================
--- SQLObject/branches/1.1/docs/News.txt Wed Dec 14 10:44:09 2011 (r4496)
+++ SQLObject/branches/1.1/docs/News.txt Wed Feb 1 09:06:46 2012 (r4497)
@@ -7,6 +7,11 @@
.. _start:
+SQLObject 1.1.5
+===============
+
+* A bug was fixed in SQLiteConnection - clear _threadPool on close().
+
SQLObject 1.1.4
===============
Modified: SQLObject/branches/1.1/sqlobject/sqlite/sqliteconnection.py
==============================================================================
--- SQLObject/branches/1.1/sqlobject/sqlite/sqliteconnection.py Wed Dec 14 10:44:09 2011 (r4496)
+++ SQLObject/branches/1.1/sqlobject/sqlite/sqliteconnection.py Wed Feb 1 09:06:46 2012 (r4497)
@@ -191,6 +191,10 @@
conn.text_factory = str # Convert text data to str, not unicode
return conn
+ def close(self):
+ DBAPI.close(self)
+ self._threadPool = {}
+
def _executeRetry(self, conn, cursor, query):
if self.debug:
self.printDebug(conn, query, 'QueryR')
|