From bed72caf06a0c0cb6ed6e432a27ddeb4479e176b Mon Sep 17 00:00:00 2001 From: "Thies C. Arntzen" Date: Wed, 18 Aug 1999 15:39:46 +0000 Subject: [PATCH] some ZTS stuff --- ext/oracle/oracle.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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){ -- 2.50.0