]> granicus.if.org Git - php/commitdiff
never initialize oci in OCI_THREADED mode. seems to break win32.
authorThies C. Arntzen <thies@php.net>
Wed, 11 Apr 2001 15:46:03 +0000 (15:46 +0000)
committerThies C. Arntzen <thies@php.net>
Wed, 11 Apr 2001 15:46:03 +0000 (15:46 +0000)
ext/oci8/oci8.c

index 0d6b57e3aef3bab1c16dba1ae303b435d6f85336..6856c6761f02ef7fd4eb2d18c0f0ebfdb07cd542 100644 (file)
@@ -342,11 +342,16 @@ PHP_MINIT_FUNCTION(oci)
 {
        zend_class_entry oci_lob_class_entry;
 
+/* XXX Joe Brown says OCI_THREADED breaks windows, assuming the same is true for unix - tc
 #ifdef ZTS 
 #define PHP_OCI_INIT_MODE OCI_THREADED
 #else
+*/
 #define PHP_OCI_INIT_MODE OCI_DEFAULT
+
+/*
 #endif
+*/
 
 #if OCI_USE_EMALLOC
     OCIInitialize(PHP_OCI_INIT_MODE, NULL, ocimalloc, ocirealloc, ocifree);