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
Description
$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.
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.
English translation
You have asked to visit this site in English. For now, only the interface is translated, but not all the content yet.If you want to help me in translations, your contribution is welcome. All you need to do is register on the site, and send me a message asking me to add you to the group of translators, which will give you the opportunity to translate the pages you want. A link at the bottom of each translated page indicates that you are the translator, and has a link to your profile.
Thank you in advance.
Document created the 30/01/2003, last modified the 26/10/2018
Source of the printed document:https://www.gaudry.be/en/php-rf-function.mysqlnd-qc-set-user-handlers.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.