Author: phd
Date: Wed Feb 1 09:11:49 2012
New Revision: 4500
Log:
A bug was fixed in SQLiteConnection - clear _threadPool on close().
Modified:
SQLObject/trunk/docs/News.txt
SQLObject/trunk/sqlobject/sqlite/sqliteconnection.py
Modified: SQLObject/trunk/docs/News.txt
==============================================================================
--- SQLObject/trunk/docs/News.txt Wed Feb 1 09:11:20 2012 (r4499)
+++ SQLObject/trunk/docs/News.txt Wed Feb 1 09:11:49 2012 (r4500)
@@ -16,6 +16,11 @@
* PostgresConnection performs translation of exceptions to standard
SQLObject's hierarchy of exceptions.
+SQLObject 1.2.2
+===============
+
+* A bugfix was ported from `SQLObject 1.1.5`_.
+
SQLObject 1.2.1
===============
@@ -53,6 +58,11 @@
* sqlobject.__doc__ and main.__doc__ no longer contain version number.
Use sqlobject.version or version_info.
+SQLObject 1.1.5
+===============
+
+* A bug was fixed in SQLiteConnection - clear _threadPool on close().
+
SQLObject 1.1.4
===============
Modified: SQLObject/trunk/sqlobject/sqlite/sqliteconnection.py
==============================================================================
--- SQLObject/trunk/sqlobject/sqlite/sqliteconnection.py Wed Feb 1 09:11:20 2012 (r4499)
+++ SQLObject/trunk/sqlobject/sqlite/sqliteconnection.py Wed Feb 1 09:11:49 2012 (r4500)
@@ -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')
|