From: Thies C. Arntzen Date: Wed, 18 Aug 1999 15:39:46 +0000 (+0000) Subject: some ZTS stuff X-Git-Tag: PRE_DELAYED_ARRAY_FETCH_PATCH~351 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bed72caf06a0c0cb6ed6e432a27ddeb4479e176b;p=php some ZTS stuff --- diff --git a/ext/oracle/oracle.c b/ext/oracle/oracle.c index 69ddea8881..1420fe0901 100644 --- a/ext/oracle/oracle.c +++ b/ext/oracle/oracle.c @@ -285,6 +285,10 @@ static int _close_oracur(oraCursor *cur) PHP_MINIT_FUNCTION(oracle) { + + ELS_FETCH(); + ORALS_FETCH(); + if (cfg_get_long("oracle.allow_persistent", &ORA(allow_persistent)) == FAILURE) { @@ -355,8 +359,6 @@ PHP_MSHUTDOWN_FUNCTION(oracle) PHP_RSHUTDOWN_FUNCTION(oracle) { - ORALS_FETCH(); - return SUCCESS; } @@ -1814,6 +1816,9 @@ int ora_set_param_values(oraCursor *cursor, int isout) /* see variables.c */ HashTable *symbol_table=php3i_get_symbol_table(); #endif + + ELS_FETCH(); + zend_hash_internal_pointer_reset(cursor->params); if(zend_hash_num_elements(cursor->params) != cursor->nparams){