summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/engine/url.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2013-04-11 19:10:02 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2013-04-11 19:10:02 -0400
commitee7bb9c1744b4b09263ef32032afd38f694df136 (patch)
tree5f381ca1c3869c130e4f2a86092ca07b99a0ebbf /lib/sqlalchemy/engine/url.py
parentf35987d31a009a6f181e2d4060e2f6274f02cbe7 (diff)
downloadsqlalchemy-ee7bb9c1744b4b09263ef32032afd38f694df136.tar.gz
Improvements to Connection auto-invalidation
handling. If a non-disconnect error occurs, but leads to a delayed disconnect error within error handling (happens with MySQL), the disconnect condition is detected. The Connection can now also be closed when in an invalid state, meaning it will raise "closed" on next usage, and additionally the "close with result" feature will work even if the autorollback in an error handling routine fails and regardless of whether the condition is a disconnect or not. [ticket:2695]
Diffstat (limited to 'lib/sqlalchemy/engine/url.py')
0 files changed, 0 insertions, 0 deletions