MySQL 8.0.40
Source Code Documentation
classic_lazy_connect.cc File Reference

Classes

class  SelectSessionVariablesHandler
 capture the system-variables. More...
 

Functions

void set_session_var (std::string &q, const std::string &key, const Value &val)
 
void set_session_var_if_not_set (std::string &q, const ExecutionContext::SystemVariables &sysvars, const std::string &key, const Value &value)
 
void set_session_var_or_value (std::string &q, const ExecutionContext::SystemVariables &sysvars, const std::string &key, const Value &default_value)
 

Function Documentation

◆ set_session_var()

void set_session_var ( std::string &  q,
const std::string &  key,
const Value val 
)

◆ set_session_var_if_not_set()

void set_session_var_if_not_set ( std::string &  q,
const ExecutionContext::SystemVariables sysvars,
const std::string &  key,
const Value value 
)

◆ set_session_var_or_value()

void set_session_var_or_value ( std::string &  q,
const ExecutionContext::SystemVariables sysvars,
const std::string &  key,
const Value default_value 
)