My Project
Public Member Functions
Sys_var_keycache Class Reference

#include <sys_vars.h>

Inheritance diagram for Sys_var_keycache:
Sys_var_integer< T, ARGT, SHOWT, SIGNED > sys_var

List of all members.

Public Member Functions

 Sys_var_keycache (const char *name_arg, const char *comment, int flag_args, ptrdiff_t off, size_t size, CMD_LINE getopt, ulonglong min_val, ulonglong max_val, ulonglong def_val, ulonglong block_size, PolyLock *lock, enum binlog_status_enum binlog_status_arg, on_check_function on_check_func, keycache_update_function on_update_func, const char *substitute=0)
bool global_update (THD *thd, set_var *var)
uchar * global_value_ptr (THD *thd, LEX_STRING *base)

Detailed Description

The class for keycache_* variables. Supports structured names, keycache_name.variable_name.

Class specific constructor arguments: everything derived from Sys_var_ulonglong

Backing store: ulonglong

Note:
these variables can be only GLOBAL

Member Function Documentation

bool Sys_var_keycache::global_update ( THD *  thd,
set_var var 
) [inline, virtual]

Abort if some other thread is changing the key cache

Todo:
This should be changed so that we wait until the previous assignment is done and then do the new assign

Reimplemented from Sys_var_integer< T, ARGT, SHOWT, SIGNED >.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines