diff options
author | Thies C. Arntzen <thies@php.net> | 2001-04-11 15:48:06 +0000 |
---|---|---|
committer | Thies C. Arntzen <thies@php.net> | 2001-04-11 15:48:06 +0000 |
commit | 8fcc3a31406c5fa3a8e3bf0fc4cf1f7c80c69c3e (patch) | |
tree | 6b2cdbe12efca915eec5bc95a9dd5f27539bf7f2 | |
parent | 70376b4b7cece6194d0b2ae4f67e8e138fe6a928 (diff) | |
download | php-git-8fcc3a31406c5fa3a8e3bf0fc4cf1f7c80c69c3e.tar.gz |
MFH - never initialize OCI in OCI_THREADED mode
-rw-r--r-- | ext/oci8/oci8.c | 5 |
1 files changed, 5 insertions, 0 deletions
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); |