mysqlnd_qc_set_user_handlers
(No version information available, might only be in SVN)
mysqlnd_qc_set_user_handlers — Sets the callback functions for a user-defined procedural storage handler
Description
Sets the callback functions for a user-defined procedural storage handler.
Parameters
- get_hash
-
Name of the user function implementing the storage handler get_hash functionality.
- find_query_in_cache
-
Name of the user function implementing the storage handler find_in_cache functionality.
- return_to_cache
-
Name of the user function implementing the storage handler return_to_cache functionality.
- add_query_to_cache_if_not_exists
-
Name of the user function implementing the storage handler add_query_to_cache_if_not_exists functionality.
- query_is_select
-
Name of the user function implementing the storage handler query_is_select functionality.
- update_query_run_time_stats
-
Name of the user function implementing the storage handler update_query_run_time_stats functionality.
- get_stats
-
Name of the user function implementing the storage handler get_stats functionality.
- clear_cache
-
Name of the user function implementing the storage handler clear_cache functionality.
Return Values
Returns TRUE on success or FALSE on FAILURE.