File tree Expand file tree Collapse file tree 1 file changed +1
-21
lines changed Expand file tree Collapse file tree 1 file changed +1
-21
lines changed Original file line number Diff line number Diff line change @@ -827,23 +827,6 @@ PHP_RINIT_FUNCTION(mysqli)
827
827
}
828
828
/* }}} */
829
829
830
- #if defined(A0 ) && defined(MYSQLI_USE_MYSQLND )
831
- static void php_mysqli_persistent_helper_for_every (void * p )
832
- {
833
- mysqlnd_end_psession ((MYSQLND * ) p );
834
- } /* }}} */
835
-
836
-
837
- static int php_mysqli_persistent_helper_once (zend_rsrc_list_entry * le )
838
- {
839
- if (le -> type == php_le_pmysqli ()) {
840
- mysqli_plist_entry * plist = (mysqli_plist_entry * ) le -> ptr ;
841
- zend_ptr_stack_apply (& plist -> free_links , php_mysqli_persistent_helper_for_every );
842
- }
843
- return ZEND_HASH_APPLY_KEEP ;
844
- } /* }}} */
845
- #endif
846
-
847
830
848
831
/* {{{ PHP_RSHUTDOWN_FUNCTION */
849
832
PHP_RSHUTDOWN_FUNCTION (mysqli )
@@ -856,10 +839,7 @@ PHP_RSHUTDOWN_FUNCTION(mysqli)
856
839
if (MyG (error_msg )) {
857
840
efree (MyG (error_msg ));
858
841
}
859
- #if defined(A0 ) && defined(MYSQLI_USE_MYSQLND )
860
- /* psession is being called when the connection is freed - explicitly or implicitly */
861
- zend_hash_apply (& EG (persistent_list ), (apply_func_t ) php_mysqli_persistent_helper_once );
862
- #endif
842
+
863
843
return SUCCESS ;
864
844
}
865
845
/* }}} */
You can’t perform that action at this time.
0 commit comments