Browse Source

init in thread-safe mode if ZTS isdefined

experimetnal/RETURN_REF_PATCH
Thies C. Arntzen 27 years ago
parent
commit
9156c2c8d1
  1. 2
      ext/oracle/oracle.c

2
ext/oracle/oracle.c

@ -322,7 +322,7 @@ PHP_MINIT_FUNCTION(oracle)
REGISTER_LONG_CONSTANT("ORA_FETCHINTO_ASSOC",ORA_FETCHINTO_ASSOC, CONST_CS | CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("ORA_FETCHINTO_NULLS",ORA_FETCHINTO_NULLS, CONST_CS | CONST_PERSISTENT);
#if NEEDED
#ifdef ZTS
opinit(OCI_EV_TSF); /* initialize threaded environment - must match the threaded mode
of the oci8 driver if both are used at the same time!! */
#endif

Loading…
Cancel
Save