diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-01-25 12:49:58 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-01-25 12:49:58 -0500 |
| commit | dfb0b6aa622006e1e71a5296c3fa17667e24aac1 (patch) | |
| tree | b950e86f656b2d14d61dd2d1b19e7e6f2f13ca86 /lib | |
| parent | d6076acd473a53b13116de54103f56673d077db2 (diff) | |
| download | sqlalchemy-dfb0b6aa622006e1e71a5296c3fa17667e24aac1.tar.gz | |
- [bug] Added ORA-03135 to the never ending
list of oracle "connection lost" errors
[ticket:2388]
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/sqlalchemy/dialects/oracle/cx_oracle.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/sqlalchemy/dialects/oracle/cx_oracle.py b/lib/sqlalchemy/dialects/oracle/cx_oracle.py index a7ce209f4..64526d213 100644 --- a/lib/sqlalchemy/dialects/oracle/cx_oracle.py +++ b/lib/sqlalchemy/dialects/oracle/cx_oracle.py @@ -695,8 +695,10 @@ class OracleDialect_cx_oracle(OracleDialect): # ORA-00028: your session has been killed # ORA-03114: not connected to ORACLE # ORA-03113: end-of-file on communication channel + # ORA-03135: connection lost contact # ORA-01033: ORACLE initialization or shutdown in progress - return error.code in (28, 3114, 3113, 1033) + # TODO: Others ? + return error.code in (28, 3114, 3113, 3135, 1033) else: return False |
