]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- replaced all self.__connection.is_valid with
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 26 Aug 2010 05:33:51 +0000 (01:33 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 26 Aug 2010 05:33:51 +0000 (01:33 -0400)
commit7d3a916fc3bc5d81b6b251a42f196793f5643b76
treef41fb3362d4a8fc10a0873ab76f848dcaff3f573
parent1402a608ebc28031ce11dec9ed6a90785f09294d
- replaced all self.__connection.is_valid with
"safe" self._connection_is_valid.
- Fixed bug in Connection whereby if a "disconnect"
event occurred in the "initialize" phase of the
first connection pool connect, an AttributeError
would be raised when the Connection would attempt
to invalidate the DBAPI connection.  [ticket:1894]
- Connection.invalidate() can be called more than
once and subsequent calls do nothing.
CHANGES
lib/sqlalchemy/engine/base.py
test/engine/test_pool.py
test/engine/test_reconnect.py