]> granicus.if.org Git - php/commitdiff
- Don't reuse Oracle connections in multi-threaded environments until
authorAndi Gutmans <andi@php.net>
Mon, 22 Nov 2004 21:44:42 +0000 (21:44 +0000)
committerAndi Gutmans <andi@php.net>
Mon, 22 Nov 2004 21:44:42 +0000 (21:44 +0000)
- 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

index 4d3f21316f33567944fea48f0fbf5f9da165c171..0ef09d67c4b0b87264392c1ad974bb12068660e8 100644 (file)
@@ -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);
 }
 /* }}} */