andi Mon Nov 22 16:44:42 2004 EDT Modified files: /php-src/ext/oci8 oci8.c Log: - 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. http://cvs.php.net/diff.php/php-src/ext/oci8/oci8.c?r1=1.264&r2=1.265&ty=u Index: php-src/ext/oci8/oci8.c diff -u php-src/ext/oci8/oci8.c:1.264 php-src/ext/oci8/oci8.c:1.265 --- php-src/ext/oci8/oci8.c:1.264 Sun Nov 21 01:17:32 2004 +++ php-src/ext/oci8/oci8.c Mon Nov 22 16:44:42 2004 @@ -22,7 +22,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: oci8.c,v 1.264 2004/11/21 06:17:32 andi Exp $ */ +/* $Id: oci8.c,v 1.265 2004/11/22 21:44:42 andi Exp $ */ /* TODO list: * @@ -786,7 +786,7 @@ php_info_print_table_start(); php_info_print_table_row(2, "OCI8 Support", "enabled"); - php_info_print_table_row(2, "Revision", "$Revision: 1.264 $"); + php_info_print_table_row(2, "Revision", "$Revision: 1.265 $"); sprintf(buf, "%ld", num_persistent); php_info_print_table_row(2, "Active Persistent Links", buf); @@ -5840,7 +5840,7 @@ 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); } /* }}} */
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php