From: Antony Dovgal Date: Wed, 3 Nov 2004 13:35:56 +0000 (+0000) Subject: fix bug #30654 (persistent connection is deleted from hash if there was exclusive... X-Git-Tag: php-4.3.10RC1~31 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=81c614a1efe70408bd62f896a9bb5f15dc222a18;p=php fix bug #30654 (persistent connection is deleted from hash if there was exclusive connection with the same credentials) No need for MFB here - 5.x.x branches work fine. --- diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index 30459d085b..d8004eebb6 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -2476,7 +2476,7 @@ _oci_close_session(oci_session *session) hashed_details = session->hashed_details; - if (! OCI(shutdown)) { + if (! OCI(shutdown) && !session->exclusive) { zend_hash_del(OCI(user), hashed_details, strlen(hashed_details)+1); }