MySQL  8.0.19
Source Code Documentation
Sys_var_max_user_conn Class Reference

The class for the max_user_connections. More...

#include <sys_vars.h>

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

Public Member Functions

 Sys_var_max_user_conn (const char *name_arg, const char *comment, int, ptrdiff_t off, size_t size, CMD_LINE getopt, uint min_val, uint max_val, uint def_val, uint block_size, PolyLock *lock=0, enum binlog_status_enum binlog_status_arg=VARIABLE_NOT_IN_BINLOG, on_check_function on_check_func=0, on_update_function on_update_func=0, const char *substitute=0)
 
const ucharsession_value_ptr (THD *running_thd, THD *target_thd, LEX_STRING *base)
 
- Public Member Functions inherited from Sys_var_integer< T, ARGT, SHOWT, SIGNED >
 Sys_var_integer (const char *name_arg, const char *comment, int flag_args, ptrdiff_t off, size_t size, CMD_LINE getopt, T min_val, T max_val, T def_val, uint block_size, PolyLock *lock=0, enum binlog_status_enum binlog_status_arg=VARIABLE_NOT_IN_BINLOG, on_check_function on_check_func=0, on_update_function on_update_func=0, const char *substitute=0, int parse_flag=PARSE_NORMAL)
 
bool do_check (THD *thd, set_var *var)
 
bool session_update (THD *thd, set_var *var)
 
bool global_update (THD *, set_var *var)
 
bool check_update_type (Item_result type)
 
void session_save_default (THD *thd, set_var *var)
 
void global_save_default (THD *, set_var *var)
 
void saved_value_to_string (THD *, set_var *var, char *def_val)
 

Detailed Description

The class for the max_user_connections.

It's derived from Sys_var_uint, but non-standard session value requires a new class.

Class specific constructor arguments: everything derived from Sys_var_uint

Backing store: uint

Constructor & Destructor Documentation

◆ Sys_var_max_user_conn()

Sys_var_max_user_conn::Sys_var_max_user_conn ( const char *  name_arg,
const char *  comment,
int  ,
ptrdiff_t  off,
size_t  size,
CMD_LINE  getopt,
uint  min_val,
uint  max_val,
uint  def_val,
uint  block_size,
PolyLock lock = 0,
enum binlog_status_enum  binlog_status_arg = VARIABLE_NOT_IN_BINLOG,
on_check_function  on_check_func = 0,
on_update_function  on_update_func = 0,
const char *  substitute = 0 
)
inline

Member Function Documentation

◆ session_value_ptr()

const uchar* Sys_var_max_user_conn::session_value_ptr ( THD running_thd,
THD target_thd,
LEX_STRING base 
)
inline

The documentation for this class was generated from the following file: