diff options
author | Thies C. Arntzen <thies@php.net> | 2001-07-25 22:34:25 +0000 |
---|---|---|
committer | Thies C. Arntzen <thies@php.net> | 2001-07-25 22:34:25 +0000 |
commit | a9e0de3947ea42fa7a24d2deba3c1a75fa273fa8 (patch) | |
tree | c5bbe1e6fce6ed1bd130448a7b5a71b6a413c85a /ext/oci8 | |
parent | 69a4760b48a5e17c4cc2d2b8ac9c0aec968d3a48 (diff) | |
download | php-git-a9e0de3947ea42fa7a24d2deba3c1a75fa273fa8.tar.gz |
@- Improved the stability of OCIPlogon() after a database restart. (Thies)
Diffstat (limited to 'ext/oci8')
-rw-r--r-- | ext/oci8/oci8.c | 2 |
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; |