My Project
Classes | Defines | Typedefs | Enumerations
sys_vars.h File Reference
#include "sys_vars_shared.h"
#include <my_getopt.h>
#include <my_bit.h>
#include <my_dir.h>
#include "keycaches.h"
#include "strfunc.h"
#include "tztime.h"
#include "rpl_gtid.h"
#include <ctype.h>

Go to the source code of this file.

Classes

struct  CMD_LINE
class  Sys_var_integer< T, ARGT, SHOWT, SIGNED >
class  Sys_var_typelib
class  Sys_var_enum
class  Sys_var_mybool
class  Sys_var_charptr
class  Sys_var_proxy_user
class  Sys_var_external_user
class  Sys_var_lexstring
class  Sys_var_dbug
class  Sys_var_keycache
class  Sys_var_double
class  Sys_var_test_flag
class  Sys_var_max_user_conn
class  Sys_var_flagset
class  Sys_var_set
class  Sys_var_plugin
class  Sys_var_bit
class  Sys_var_session_special
class  Sys_var_session_special_double
class  Sys_var_have
class  Sys_var_struct
class  Sys_var_tz
class  Sys_var_tx_isolation
class  Sys_var_tx_read_only
class  Sys_var_enum_binlog_checksum
class  Sys_var_gtid_specification
class  Sys_var_charptr_func
class  Sys_var_gtid_set_func
class  Sys_var_gtid_executed
class  Sys_var_gtid_purged
class  Sys_var_gtid_owned

Defines

#define VALID_RANGE(X, Y)   X,Y
#define DEFAULT(X)   X
#define BLOCK_SIZE(X)   X
#define GLOBAL_VAR(X)   sys_var::GLOBAL, (((char*)&(X))-(char*)&global_system_variables), sizeof(X)
#define SESSION_VAR(X)   sys_var::SESSION, offsetof(SV, X), sizeof(((SV *)0)->X)
#define SESSION_ONLY(X)   sys_var::ONLY_SESSION, offsetof(SV, X), sizeof(((SV *)0)->X)
#define NO_CMD_LINE   CMD_LINE(NO_ARG, -1)
#define NO_MUTEX_GUARD   ((PolyLock*)0)
#define IN_BINLOG   sys_var::SESSION_VARIABLE_IN_BINLOG
#define NOT_IN_BINLOG   sys_var::VARIABLE_NOT_IN_BINLOG
#define ON_READ(X)   X
#define ON_CHECK(X)   X
#define ON_UPDATE(X)   X
#define READ_ONLY   sys_var::READONLY+
#define NOT_VISIBLE   sys_var::INVISIBLE+
#define PREALLOCATED   sys_var::ALLOCATED+
#define REVERSE(X)   ~(X)
#define DEPRECATED(X)   X
#define session_var(THD, TYPE)   (*(TYPE*)session_var_ptr(THD))
#define global_var(TYPE)   (*(TYPE*)global_var_ptr())
#define GET_HA_ROWS   GET_ULONG
#define KEYCACHE_VAR(X)   sys_var::GLOBAL,offsetof(KEY_CACHE, X), sizeof(((KEY_CACHE *)0)->X)
#define keycache_var_ptr(KC, OFF)   (((uchar*)(KC))+(OFF))
#define keycache_var(KC, OFF)   (*(ulonglong*)keycache_var_ptr(KC, OFF))
#define MAX_SET(X)   ((((1UL << ((X)-1))-1) << 1) | 1)

Typedefs

typedef Sys_var_integer< int32,
GET_UINT, SHOW_INT, FALSE > 
Sys_var_int32
typedef Sys_var_integer< uint,
GET_UINT, SHOW_INT, FALSE > 
Sys_var_uint
typedef Sys_var_integer< ulong,
GET_ULONG, SHOW_LONG, FALSE > 
Sys_var_ulong
typedef Sys_var_integer
< ha_rows, GET_HA_ROWS,
SHOW_HA_ROWS, FALSE > 
Sys_var_harows
typedef Sys_var_integer
< ulonglong, GET_ULL,
SHOW_LONGLONG, FALSE > 
Sys_var_ulonglong
typedef Sys_var_integer< long,
GET_LONG, SHOW_SIGNED_LONG,
TRUE > 
Sys_var_long
typedef bool(* keycache_update_function )(THD *, KEY_CACHE *, ptrdiff_t, ulonglong)

Enumerations

enum  charset_enum { IN_SYSTEM_CHARSET, IN_FS_CHARSET }

Detailed Description

"private" interface to sys_var - server configuration variables.

This header is included only by the file that contains declarations of sys_var variables (sys_vars.cc).

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines