From: Thies C. Arntzen Date: Wed, 11 Apr 2001 15:46:03 +0000 (+0000) Subject: never initialize oci in OCI_THREADED mode. seems to break win32. X-Git-Tag: php-4.0.6RC1~434 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cb887013155046604f0cf768330622446298f198;p=php never initialize oci in OCI_THREADED mode. seems to break win32. --- diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index 0d6b57e3ae..6856c6761f 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -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);