summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThies C. Arntzen <thies@php.net>2001-04-11 15:48:06 +0000
committerThies C. Arntzen <thies@php.net>2001-04-11 15:48:06 +0000
commit8fcc3a31406c5fa3a8e3bf0fc4cf1f7c80c69c3e (patch)
tree6b2cdbe12efca915eec5bc95a9dd5f27539bf7f2
parent70376b4b7cece6194d0b2ae4f67e8e138fe6a928 (diff)
downloadphp-git-8fcc3a31406c5fa3a8e3bf0fc4cf1f7c80c69c3e.tar.gz
MFH - never initialize OCI in OCI_THREADED mode
-rw-r--r--ext/oci8/oci8.c5
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);