]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- auto-reconnect support improved; a Connection can now automatically
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 19 Dec 2007 19:51:46 +0000 (19:51 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 19 Dec 2007 19:51:46 +0000 (19:51 +0000)
commitb9b0aca7575e347dfd62221c9d515decee4c75f6
tree2b2723368ef80367c6884016ae9a1486d6107d4c
parente7f30cba786beeb788913b4be88c6c46d73c910d
- auto-reconnect support improved; a Connection can now automatically
reconnect after its underlying connection is invalidated, without
needing to connect() again from the engine.  This allows an ORM session
bound to a single Connection to not need a reconnect.
Open transactions on the Connection must be rolled back after an invalidation
of the underlying connection else an error is raised.  Also fixed
bug where disconnect detect was not being called for cursor(), rollback(),
or commit().
CHANGES
lib/sqlalchemy/databases/mysql.py
lib/sqlalchemy/databases/sqlite.py
lib/sqlalchemy/engine/base.py
lib/sqlalchemy/exceptions.py
lib/sqlalchemy/pool.py
test/engine/reconnect.py
test/sql/testtypes.py
test/testlib/engines.py