1#ifndef SYS_VARS_SHARED_INCLUDED
2#define SYS_VARS_SHARED_INCLUDED
Definition: sys_vars_shared.h:99
~AutoRLock()
Definition: sys_vars_shared.h:106
PolyLock * lock
Definition: sys_vars_shared.h:100
AutoRLock(PolyLock *l)
Definition: sys_vars_shared.h:103
Definition: sys_vars_shared.h:87
~AutoWLock()
Definition: sys_vars_shared.h:94
AutoWLock(PolyLock *l)
Definition: sys_vars_shared.h:91
PolyLock * lock
Definition: sys_vars_shared.h:88
Definition: sys_vars_shared.h:80
Definition: sys_vars_shared.h:60
PolyLock_mutex(mysql_mutex_t *arg)
Definition: sys_vars_shared.h:64
mysql_mutex_t * mutex
Definition: sys_vars_shared.h:61
void wrlock() override
Definition: sys_vars_shared.h:66
void unlock() override
Definition: sys_vars_shared.h:67
void rdlock() override
Definition: sys_vars_shared.h:65
Definition: sys_vars_shared.h:70
void rdlock() override
Definition: sys_vars_shared.h:75
mysql_rwlock_t * rwlock
Definition: sys_vars_shared.h:71
PolyLock_rwlock(mysql_rwlock_t *arg)
Definition: sys_vars_shared.h:74
void wrlock() override
Definition: sys_vars_shared.h:76
void unlock() override
Definition: sys_vars_shared.h:77
wrapper to hide a mutex and an rwlock under a common interface
Definition: sys_vars_shared.h:52
virtual ~PolyLock()=default
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:36
A class representing one system variable - that is something that can be accessed as @global....
Definition: set_var.h:107
#define mysql_mutex_lock(M)
Definition: mysql_mutex.h:50
#define mysql_mutex_unlock(M)
Definition: mysql_mutex.h:57
#define mysql_rwlock_rdlock(T)
Definition: mysql_rwlock.h:61
#define mysql_rwlock_unlock(T)
Definition: mysql_rwlock.h:91
#define mysql_rwlock_wrlock(T)
Definition: mysql_rwlock.h:71
Instrumentation helpers for mysys threads.
long long int longlong
Definition: my_inttypes.h:55
std::string str(const mysqlrouter::ConfigGenerator::Options::Endpoint &ep)
Definition: config_generator.cc:1081
constexpr value_type is_unsigned
Definition: classic_protocol_constants.h:273
bool length(const dd::Spatial_reference_system *srs, const Geometry *g1, double *length, bool *null) noexcept
Computes the length of linestrings and multilinestrings.
Definition: length.cc:76
Provides atomic access in shared-exclusive modes.
Definition: shared_spin_lock.h:79
Instrumentation helpers for mutexes.
case opt name
Definition: sslopt-case.h:29
An instrumented mutex structure.
Definition: mysql_mutex_bits.h:50
An instrumented rwlock structure.
Definition: mysql_rwlock_bits.h:51
bool throw_bounds_warning(THD *thd, const char *name, bool fixed, bool is_unsigned, longlong v)
Throw warning (error in STRICT mode) if value for variable needed bounding.
Definition: set_var.cc:554
sys_var * find_static_system_variable(const std::string &name)
Find a static system variable.
Definition: set_var.cc:1314
sys_var * find_dynamic_system_variable(const std::string &name)
Find a dynamic system variable.
Definition: set_var.cc:1332
sys_var * intern_find_sys_var(const char *str, size_t length)
Find a system variable, either static or dynamic.
Definition: set_var.cc:1353