summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2004-11-22 21:44:42 +0000
committerAndi Gutmans <andi@php.net>2004-11-22 21:44:42 +0000
commit7c3eaef39d8c050b5edd9a8e672a78d3ac8a6338 (patch)
tree7d421539a5b23a4d3c9f975321916fd764f6f61a
parenta07c080ce8f486a3b0471fabc39960372f0485d5 (diff)
downloadphp-git-7c3eaef39d8c050b5edd9a8e672a78d3ac8a6338.tar.gz
- 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.
-rw-r--r--ext/oci8/oci8.c2
1 files changed, 1 insertions, 1 deletions
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);
}
/* }}} */