Browse Source

- 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.
PHP-5.1
Andi Gutmans 22 years ago
parent
commit
7c3eaef39d
  1. 2
      ext/oci8/oci8.c

2
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);
}
/* }}} */

Loading…
Cancel
Save