]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Check cx_Oracle error code on all exception classes
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 6 Feb 2018 20:47:43 +0000 (15:47 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 7 Feb 2018 00:38:59 +0000 (19:38 -0500)
commit2bc7dfebe6dd708573fcc08b769241b36d675588
treeeee6db0f6e9bebacc511244e25ab88e25b1bfb19
parent00570a6ac9453a48b06ca094de6e0502c3b73fa5
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
doc/build/changelog/unreleased_12/4182.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/oracle/cx_oracle.py
test/engine/test_execute.py
test/requirements.py