]> granicus.if.org Git - php/commitdiff
MFH: prevent deadlocks when re-using previously established persistent connection
authorAntony Dovgal <tony2001@php.net>
Sun, 10 Oct 2004 10:55:48 +0000 (10:55 +0000)
committerAntony Dovgal <tony2001@php.net>
Sun, 10 Oct 2004 10:55:48 +0000 (10:55 +0000)
ext/oci8/oci8.c

index 7ba91c18fe133d9d303378377eca79c110a1231c..35b2011872e973b690374bc8bf2c911ffeece831 100644 (file)
@@ -2700,6 +2700,7 @@ static oci_session *_oci_open_session(oci_server* server,char *username,char *pa
                                        session->persistent = 1;
                                }
                                smart_str_free_ex(&hashed_details, 1);
+                               mutex_unlock(mx_lock);
                                return session;
                        } else {
                                _oci_close_session(session);