@@ -87,7 +87,7 @@ static void php_oci_statement_list_dtor (zend_rsrc_list_entry * TSRMLS_DC);
8787static void php_oci_descriptor_list_dtor (zend_rsrc_list_entry * TSRMLS_DC );
8888static void php_oci_collection_list_dtor (zend_rsrc_list_entry * TSRMLS_DC );
8989
90- static int php_oci_persistent_helper (list_entry * le TSRMLS_DC );
90+ static int php_oci_persistent_helper (zend_rsrc_list_entry * le TSRMLS_DC );
9191static int php_oci_connection_ping (php_oci_connection * TSRMLS_DC );
9292static int php_oci_connection_status (php_oci_connection * TSRMLS_DC );
9393static int php_oci_connection_close (php_oci_connection * TSRMLS_DC );
@@ -925,8 +925,8 @@ void php_oci_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent, int exclus
925925 * The real connect function. Allocates all the resources needed, establishes the connection and returns the result handle (or NULL) */
926926php_oci_connection * php_oci_do_connect_ex (char * username , int username_len , char * password , int password_len , char * new_password , int new_password_len , char * dbname , int dbname_len , char * charset , long session_mode , int persistent , int exclusive TSRMLS_DC )
927927{
928- list_entry * le ;
929- list_entry new_le ;
928+ zend_rsrc_list_entry * le ;
929+ zend_rsrc_list_entry new_le ;
930930 php_oci_connection * connection = NULL ;
931931 smart_str hashed_details = {0 };
932932 time_t timestamp ;
@@ -1300,14 +1300,14 @@ php_oci_connection *php_oci_do_connect_ex(char *username, int username_len, char
13001300 new_le .type = le_pconnection ;
13011301 connection -> used_this_request = 1 ;
13021302 connection -> rsrc_id = zend_list_insert (connection , le_pconnection );
1303- zend_hash_update (& EG (persistent_list ), connection -> hash_key , strlen (connection -> hash_key )+ 1 , (void * )& new_le , sizeof (list_entry ), NULL );
1303+ zend_hash_update (& EG (persistent_list ), connection -> hash_key , strlen (connection -> hash_key )+ 1 , (void * )& new_le , sizeof (zend_rsrc_list_entry ), NULL );
13041304 OCI_G (num_persistent )++ ;
13051305 }
13061306 else if (!exclusive ) {
13071307 connection -> rsrc_id = zend_list_insert (connection , le_connection );
13081308 new_le .ptr = (void * )connection -> rsrc_id ;
13091309 new_le .type = le_index_ptr ;
1310- zend_hash_update (& EG (regular_list ), connection -> hash_key , strlen (connection -> hash_key )+ 1 , (void * )& new_le , sizeof (list_entry ), NULL );
1310+ zend_hash_update (& EG (regular_list ), connection -> hash_key , strlen (connection -> hash_key )+ 1 , (void * )& new_le , sizeof (zend_rsrc_list_entry ), NULL );
13111311 OCI_G (num_links )++ ;
13121312 }
13131313 else {
@@ -1672,7 +1672,7 @@ void php_oci_fetch_row (INTERNAL_FUNCTION_PARAMETERS, int mode, int expected_arg
16721672
16731673/* {{{ php_oci_persistent_helper()
16741674 Helper function to close/rollback persistent connections at the end of request */
1675- static int php_oci_persistent_helper (list_entry * le TSRMLS_DC )
1675+ static int php_oci_persistent_helper (zend_rsrc_list_entry * le TSRMLS_DC )
16761676{
16771677 time_t timestamp ;
16781678 php_oci_connection * connection ;
0 commit comments