]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Remove terminated connections from the pool.
authorJohn Anderson <sontek@gmail.com>
Mon, 16 Dec 2013 20:50:10 +0000 (12:50 -0800)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 27 Dec 2013 16:14:21 +0000 (11:14 -0500)
commit4211207abfd96ddc06e37418d3a2132bd8ca89d8
treefe2a32cf7ec3a83cb33ecaa37dbbb8006198a808
parentae3c57f492c5ade1afd8b010f7d9f2db740eb595
Remove terminated connections from the pool.

In pymssql, if you terminate a long running query manually
it will give you a connection reset by peer message, but this
connection remains in the pool and will be re-used.
lib/sqlalchemy/dialects/mssql/pymssql.py
test/dialect/mssql/test_engine.py