mysqlnd_qc_set_user_handlers
(PECL mysqlnd_qc >= 1.0.0)
mysqlnd_qc_set_user_handlers — Sets the callback functions for a user-defined procedural storage handler
Описание
$get_hash
,
string
$find_query_in_cache
,
string
$return_to_cache
,
string
$add_query_to_cache_if_not_exists
,
string
$query_is_select
,
string
$update_query_run_time_stats
,
string
$get_stats
,
string
$clear_cache
) : boolSets the callback functions for a user-defined procedural storage handler.
Список параметров
-
get_hash -
Name of the user function implementing the storage handler
get_hashfunctionality. -
find_query_in_cache -
Name of the user function implementing the storage handler
find_in_cachefunctionality. -
return_to_cache -
Name of the user function implementing the storage handler
return_to_cachefunctionality. -
add_query_to_cache_if_not_exists -
Name of the user function implementing the storage handler
add_query_to_cache_if_not_existsfunctionality. -
query_is_select -
Name of the user function implementing the storage handler
query_is_selectfunctionality. -
update_query_run_time_stats -
Name of the user function implementing the storage handler
update_query_run_time_statsfunctionality. -
get_stats -
Name of the user function implementing the storage handler
get_statsfunctionality. -
clear_cache -
Name of the user function implementing the storage handler
clear_cachefunctionality.
Возвращаемые значения
Returns TRUE on success or FALSE on FAILURE.