From: Thies C. Arntzen Date: Wed, 25 Jul 2001 22:34:25 +0000 (+0000) Subject: @- Improved the stability of OCIPlogon() after a database restart. (Thies) X-Git-Tag: PRE_TSRM_MERGE_PATCH~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a9e0de3947ea42fa7a24d2deba3c1a75fa273fa8;p=php @- Improved the stability of OCIPlogon() after a database restart. (Thies) --- 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;