From a9e0de3947ea42fa7a24d2deba3c1a75fa273fa8 Mon Sep 17 00:00:00 2001 From: "Thies C. Arntzen" Date: Wed, 25 Jul 2001 22:34:25 +0000 Subject: [PATCH] @- Improved the stability of OCIPlogon() after a database restart. (Thies) --- ext/oci8/oci8.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.50.1