]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- The _extract_error_code() method now works
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 12 Jul 2010 15:15:16 +0000 (11:15 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 12 Jul 2010 15:15:16 +0000 (11:15 -0400)
commit800448ad621a7cbe50726b6e208f55264dc623bc
tree56a0504e0c14c157e493e0ade28cccf052e542ce
parent8f0ac7b5c968fac2cccd4f5bb7dcca927aff5f0b
- The _extract_error_code() method now works
correctly with the "mysqldb" dialect.  Previously,
the reconnect logic would fail for OperationalError
conditions, however since MySQLdb has its
own reconnect feature, there was no symptom
here unless one watched the logs.
[ticket:1848]
CHANGES
lib/sqlalchemy/dialects/mysql/mysqldb.py
lib/sqlalchemy/test/engines.py