]> granicus.if.org Git - php/commitdiff
fix bug #30654 (persistent connection is deleted from hash if there was exclusive...
authorAntony Dovgal <tony2001@php.net>
Wed, 3 Nov 2004 13:35:56 +0000 (13:35 +0000)
committerAntony Dovgal <tony2001@php.net>
Wed, 3 Nov 2004 13:35:56 +0000 (13:35 +0000)
No need for MFB here - 5.x.x branches work fine.

ext/oci8/oci8.c

index 30459d085b916a375644a7c7c618629d088eda16..d8004eebb655d65c05a6ee7eff8415dccd66e669 100644 (file)
@@ -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);
        }