From: Antony Dovgal Date: Sun, 10 Oct 2004 10:55:48 +0000 (+0000) Subject: MFH: prevent deadlocks when re-using previously established persistent connection X-Git-Tag: php-5.0.3RC1~158 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8f16f600d5741e5c0599124155bb25fd8d7ce196;p=php MFH: prevent deadlocks when re-using previously established persistent connection --- diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index 7ba91c18fe..35b2011872 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -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);