]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- changed "invalidate" semantics with pooled connection; will
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 26 Aug 2006 21:32:11 +0000 (21:32 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 26 Aug 2006 21:32:11 +0000 (21:32 +0000)
commit47332cb1477f6a5affb5b78bb8aff0523c499d90
treed67238c6b5b30236e62d7ce8494cb110c3f44601
parent3188bd0567ffc4b17ff7ccb45abeb163fc9a1095
- changed "invalidate" semantics with pooled connection; will
instruct the underlying connection record to reconnect the next
time its called.  "invalidate" will also automatically be called
if any error is thrown in the underlying call to connection.cursor().
this will hopefully allow the connection pool to reconnect to a
database that had been stopped and started without restarting
the connecting application [ticket:121]
CHANGES
lib/sqlalchemy/engine/base.py
lib/sqlalchemy/pool.py
test/engine/pool.py