cvs: /php4/ext/oracle oracle.c

From: Date: Wed, 18 Aug 1999 15:39:46 +0000
Subject: cvs: /php4/ext/oracle oracle.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-3548@lists.php.net to get a copy of this message
thies Wed Aug 18 11:39:46 1999 EDT Modified files: /php4/ext/oracle oracle.c Log: some ZTS stuff Index: php4/ext/oracle/oracle.c diff -u php4/ext/oracle/oracle.c:1.14 php4/ext/oracle/oracle.c:1.15 --- php4/ext/oracle/oracle.c:1.14 Tue Aug 17 10:40:26 1999 +++ php4/ext/oracle/oracle.c Wed Aug 18 11:39:45 1999 @@ -285,6 +285,10 @@ PHP_MINIT_FUNCTION(oracle) { + + ELS_FETCH(); + ORALS_FETCH(); + if (cfg_get_long("oracle.allow_persistent", &ORA(allow_persistent)) == FAILURE) { @@ -355,8 +359,6 @@ PHP_RSHUTDOWN_FUNCTION(oracle) { - ORALS_FETCH(); - return SUCCESS; } @@ -1814,6 +1816,9 @@ /* 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){

« previous php.version4 (#3548) next »