]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed bug in QueuePool, SingletonThreadPool whereby
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 23 Mar 2011 03:39:05 +0000 (23:39 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 23 Mar 2011 03:39:05 +0000 (23:39 -0400)
commita294df9748f1314a2db7de5bc39d091854d0fec3
treebf6f2c9c9505a8159cf97cc8e53e7af09710f690
parent39c465ecf3f45bbebb37c5d5ed7e1a0fccf5641c
- Fixed bug in QueuePool, SingletonThreadPool whereby
connections that were discarded via overflow or periodic
cleanup() were not explicitly closed, leaving garbage
collection to the task instead.   This generally only
affects non-reference-counting backends like Jython
and Pypy.  Thanks to Jaimy Azle for spotting
this.  [ticket:2102]
CHANGES
lib/sqlalchemy/pool.py
test/engine/test_pool.py