If someone would apply this patch to ext/oci8/oci8.c I think the Oracle
using Win32 community would be greatful.

Don't know if all threaded environments have a problem with OCI8's behaviour
in threaded mode.  PHP on win32 really doesn't like it...  I haven't been
able to get it to crash with this modification.  W/out this modification I
haven't been able to keep it from crashing.

This change only affects builds on Win32, making OCI8 behave like it does on
traditional Unix.  If possible, please include in the next RC or final
release of 4.0.6

Thanks,
joebrown
podiatryfl.com

--- php4/ext/oci8/oci8.c  Fri Mar 02 04:45:08 2001
+++ php4/ext/oci8/oci8.c  Mon Apr 09 03:33:10 2001
@@ -342,7 +342,7 @@
 {
        zend_class_entry oci_lob_class_entry;

-#ifdef ZTS
+#if ZTS && !WIN32
 #define PHP_OCI_INIT_MODE OCI_THREADED
 #else
 #define PHP_OCI_INIT_MODE OCI_DEFAULT



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to