Visit The New, Modern Unix Linux Community

MYSQLND_QC_SET_USER_HANDLERS(3) 					 1					   MYSQLND_QC_SET_USER_HANDLERS(3)

mysqlnd_qc_set_user_handlers - Sets the callback functions for a user-defined procedural storage handler

SYNOPSIS
bool mysqlnd_qc_set_user_handlers (string $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) DESCRIPTION
Sets the callback functions for a user-defined procedural storage handler. PARAMETERS
o $get_hash - Name of the user function implementing the storage handler get_hash functionality. o $find_query_in_cache - Name of the user function implementing the storage handler find_in_cache functionality. o $return_to_cache - Name of the user function implementing the storage handler return_to_cache functionality. o $add_query_to_cache_if_not_exists - Name of the user function implementing the storage handler add_query_to_cache_if_not_exists functionality. o $query_is_select - Name of the user function implementing the storage handler query_is_select functionality. o $update_query_run_time_stats - Name of the user function implementing the storage handler update_query_run_time_stats functionality. o $get_stats - Name of the user function implementing the storage handler get_stats functionality. o $clear_cache - Name of the user function implementing the storage handler clear_cache functionality. RETURN VALUES
Returns TRUE on success or FALSE on FAILURE. SEE ALSO
Procedural user-defined storage handler example. PHP Documentation Group MYSQLND_QC_SET_USER_HANDLERS(3)

Featured Tech Videos