Author: phd
Date: Wed Feb 1 09:09:14 2012
New Revision: 4498
Log:
A bug was fixed in SQLiteConnection - clear _threadPool on close().
Modified:
SQLObject/branches/1.2/docs/News.txt
SQLObject/branches/1.2/sqlobject/sqlite/sqliteconnection.py
Modified: SQLObject/branches/1.2/docs/News.txt
==============================================================================
--- SQLObject/branches/1.2/docs/News.txt Wed Feb 1 09:06:46 2012 (r4497)
+++ SQLObject/branches/1.2/docs/News.txt Wed Feb 1 09:09:14 2012 (r4498)
@@ -7,6 +7,11 @@
.. _start:
+SQLObject 1.2.2
+===============
+
+* A bugfix was ported from `SQLObject 1.1.5`_.
+
SQLObject 1.2.1
===============
@@ -44,6 +49,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/branches/1.2/sqlobject/sqlite/sqliteconnection.py
==============================================================================
--- SQLObject/branches/1.2/sqlobject/sqlite/sqliteconnection.py Wed Feb 1 09:06:46 2012 (r4497)
+++ SQLObject/branches/1.2/sqlobject/sqlite/sqliteconnection.py Wed Feb 1 09:09:14 2012 (r4498)
@@ -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')
|