mirror of
https://github.com/php/php-src.git
synced 2024-11-26 03:16:33 +08:00
never initialize oci in OCI_THREADED mode. seems to break win32.
This commit is contained in:
parent
4532eebc4a
commit
cb88701315
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user