diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2018-02-06 15:47:43 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2018-02-06 19:38:59 -0500 |
commit | 2bc7dfebe6dd708573fcc08b769241b36d675588 (patch) | |
tree | eee6db0f6e9bebacc511244e25ab88e25b1bfb19 /lib/sqlalchemy/dialects/mysql/enumerated.py | |
parent | 00570a6ac9453a48b06ca094de6e0502c3b73fa5 (diff) | |
download | sqlalchemy-2bc7dfebe6dd708573fcc08b769241b36d675588.tar.gz |
Check cx_Oracle error code on all exception classes
Fixed bug in cx_Oracle disconnect detection, used by pre_ping and other
features, where an error could be raised as DatabaseError which includes a
numeric error code; previously we weren't checking in this case for a
disconnect code.
Change-Id: I359bb5ede25a4726ea632b81af83c6391f405ae1
Fixes: #4182
Diffstat (limited to 'lib/sqlalchemy/dialects/mysql/enumerated.py')
0 files changed, 0 insertions, 0 deletions