]> 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:44:38 +0000 (23:44 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 23 Mar 2011 03:44:38 +0000 (23:44 -0400)
commitb81838a46d2016f3806bba1d3c0dea49ce2213c5
tree6a98f42e8d200283d4777e28efde7c385ba7064e
parent246e645f9c6b7252af16fa96acde0f1df8e7835f
- 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