summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/drizzle/mysqldb.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2014-05-30 16:24:38 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2014-05-30 16:24:38 -0400
commit814637e291953bc7e05ced3e215ef33bde5b040a (patch)
tree7b46787f2b04ae06bb2934833d827bfb04b90036 /lib/sqlalchemy/dialects/drizzle/mysqldb.py
parent8daa6ccfb0be6486d36ebdd3cd709e8ebfbfa207 (diff)
downloadsqlalchemy-814637e291953bc7e05ced3e215ef33bde5b040a.tar.gz
- vastly improve the "safe close cursor" tests in test_reconnect
- Fixed bug which would occur if a DBAPI exception occurs when the engine first connects and does its initial checks, and the exception is not a disconnect exception, yet the cursor raises an error when we try to close it. In this case the real exception would be quashed as we tried to log the cursor close exception via the connection pool and failed, as we were trying to access the pool's logger in a way that is inappropriate in this very specific scenario. fixes #3063
Diffstat (limited to 'lib/sqlalchemy/dialects/drizzle/mysqldb.py')
0 files changed, 0 insertions, 0 deletions