From 7c3eaef39d8c050b5edd9a8e672a78d3ac8a6338 Mon Sep 17 00:00:00 2001 From: Andi Gutmans Date: Mon, 22 Nov 2004 21:44:42 +0000 Subject: [PATCH] - 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. --- ext/oci8/oci8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } /* }}} */ -- 2.50.1