summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThies C. Arntzen <thies@php.net>2001-07-25 22:34:25 +0000
committerThies C. Arntzen <thies@php.net>2001-07-25 22:34:25 +0000
commita9e0de3947ea42fa7a24d2deba3c1a75fa273fa8 (patch)
treec5bbe1e6fce6ed1bd130448a7b5a71b6a413c85a
parent69a4760b48a5e17c4cc2d2b8ac9c0aec968d3a48 (diff)
downloadphp-git-a9e0de3947ea42fa7a24d2deba3c1a75fa273fa8.tar.gz
@- Improved the stability of OCIPlogon() after a database restart. (Thies)
-rw-r--r--ext/oci8/oci8.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c
index 5ee81ad19c..c2e83adde3 100644
--- a/ext/oci8/oci8.c
+++ b/ext/oci8/oci8.c
@@ -863,6 +863,8 @@ oci_handle_error(oci_connection *connection, ub4 errcode)
case 22: /* ORA-00022 Invalid session id */
case 1012: /* ORA-01012: */
case 3113: /* ORA-03113: end-of-file on communication channel */
+ case 604:
+ case 1041:
connection->is_open = 0;
connection->session->is_open = 0;
connection->session->server->is_open = 0;