|
| PFS_system_persisted_variables_cache (bool external_init) |
|
| ~PFS_system_persisted_variables_cache () override=default |
|
| PFS_system_variable_cache (bool external_init) |
|
bool | match_scope (int scope) |
| Match system variable scope to desired scope. More...
|
|
ulonglong | get_sysvar_hash_version () |
|
| ~PFS_system_variable_cache () override |
|
| PFS_variable_cache (bool external_init) |
|
virtual | ~PFS_variable_cache ()=0 |
| Destructor. More...
|
|
bool | initialize_session () |
| Build array of SHOW_VARs from the external variable source. More...
|
|
bool | initialize_client_session () |
| Build array of SHOW_VARs suitable for aggregation by user, host or account. More...
|
|
int | materialize_global () |
| Build cache of GLOBAL system or status variables. More...
|
|
int | materialize_all (THD *thd) |
| Build cache of GLOBAL and SESSION variables for a non-instrumented thread. More...
|
|
int | materialize_session (THD *thd) |
| Build cache of SESSION variables for a non-instrumented thread. More...
|
|
int | materialize_session (PFS_thread *pfs_thread, bool use_mem_root=false) |
| Build cache of SESSION variables for an instrumented thread. More...
|
|
int | materialize_session (PFS_thread *pfs_thread, uint index) |
| Cache a single SESSION variable for an instrumented thread. More...
|
|
int | materialize_user (PFS_user *pfs_user) |
| Build cache of SESSION status variables for a user. More...
|
|
int | materialize_host (PFS_host *pfs_host) |
| Build cache of SESSION status variables for a host. More...
|
|
int | materialize_account (PFS_account *pfs_account) |
| Build cache of SESSION status variables for an account. More...
|
|
bool | is_materialized () |
| True if variables have been materialized. More...
|
|
bool | is_materialized (THD *unsafe_thd) |
| True if variables have been materialized for given THD. More...
|
|
bool | is_materialized (PFS_thread *pfs_thread) |
| True if variables have been materialized for given PFS_thread. More...
|
|
bool | is_materialized (PFS_user *pfs_user) |
| True if variables have been materialized for given PFS_user. More...
|
|
bool | is_materialized (PFS_host *pfs_host) |
| True if variables have been materialized for given PFS_host. More...
|
|
bool | is_materialized (PFS_account *pfs_account) |
| True if variables have been materialized for given PFS_account. More...
|
|
bool | is_materialized (PFS_client *pfs_client) |
| True if variables have been materialized for given PFS_user/host/account. More...
|
|
THD_ptr | get_THD (THD *thd) |
| Get a validated THD from the thread manager. More...
|
|
THD_ptr | get_THD (PFS_thread *pfs_thread) |
|
const System_variable * | get (uint index=0) const |
| Get a single variable from the cache. More...
|
|
uint | size () |
| Number of elements in the cache. More...
|
|