From: Andi Gutmans Date: Mon, 22 Nov 2004 21:44:42 +0000 (+0000) Subject: - Don't reuse Oracle connections in multi-threaded environments until X-Git-Tag: RELEASE_0_2~637 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7c3eaef39d8c050b5edd9a8e672a78d3ac8a6338;p=php - Don't reuse Oracle connections in multi-threaded environments until - we decide to either not support ZTS connection pooling (kind of - pointless as PHP isn't stable in ZTS mode) or fix the 100% reproducable - crash bug on oci_connect() under Windows most probably due to this - problem. --- diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index 4d3f21316f..0ef09d67c4 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -5840,7 +5840,7 @@ PHP_FUNCTION(oci_new_connect) Connect to an Oracle database and log on. Returns a new session. */ PHP_FUNCTION(oci_connect) { - oci_do_connect(INTERNAL_FUNCTION_PARAM_PASSTHRU, 0, 0); + oci_do_connect(INTERNAL_FUNCTION_PARAM_PASSTHRU, 0, 1); } /* }}} */