![]() |
MySQL 9.4.0
Source Code Documentation
|
Warn usage of restrict_fk_on_non_standard_key variable. More...
Classes | |
struct | Get_csname |
struct | Get_locale_name |
struct | Get_name |
Functions | |
bool | restrict_fk_on_non_standard_key_check (sys_var *self, THD *thd, set_var *setv) |
Variables | |
Sys_var_bool | Sys_restrict_fk_on_non_standard_key ("restrict_fk_on_non_standard_key", "Disallow the creation of foreign keys referencing non-unique key " "or partial key", NON_PERSIST SESSION_VAR(restrict_fk_on_non_standard_key), CMD_LINE(OPT_ARG), DEFAULT(true), NO_MUTEX_GUARD, NOT_IN_BINLOG, ON_CHECK(restrict_fk_on_non_standard_key_check), ON_UPDATE(nullptr)) |
ulonglong | debug_a_global_flagset |
constexpr const uint64_t | DEBUG_A_GLOBAL_FLAGSET_F1 {1ULL << 0} |
constexpr const uint64_t | DEBUG_A_GLOBAL_FLAGSET_F2 {1ULL << 1} |
constexpr uint64_t | DEBUG_A_GLOBAL_FLAGSET_DEFAULT |
const char * | debug_a_global_flagset_names [] = {"f1", "f2", "default", NullS} |
Sys_var_flagset | Sys_debug_a_global_flagset ("debug_a_global_flagset", "Debug variable to test a global persistable flagset variable.", GLOBAL_VAR(debug_a_global_flagset), CMD_LINE(REQUIRED_ARG), debug_a_global_flagset_names, DEFAULT(DEBUG_A_GLOBAL_FLAGSET_DEFAULT), NO_MUTEX_GUARD, NOT_IN_BINLOG, ON_CHECK(nullptr), ON_UPDATE(nullptr)) |
Warn usage of restrict_fk_on_non_standard_key variable.
When it is set to false, warning should include usage of non std keys may break replication
bool anonymous_namespace{sys_vars.cc}::restrict_fk_on_non_standard_key_check | ( | sys_var * | self, |
THD * | thd, | ||
set_var * | setv | ||
) |
ulonglong anonymous_namespace{sys_vars.cc}::debug_a_global_flagset |
|
constexpr |
|
constexpr |
|
constexpr |
const char* anonymous_namespace{sys_vars.cc}::debug_a_global_flagset_names[] = {"f1", "f2", "default", NullS} |
Sys_var_flagset anonymous_namespace{sys_vars.cc}::Sys_debug_a_global_flagset("debug_a_global_flagset", "Debug variable to test a global persistable flagset variable.", GLOBAL_VAR(debug_a_global_flagset), CMD_LINE(REQUIRED_ARG), debug_a_global_flagset_names, DEFAULT(DEBUG_A_GLOBAL_FLAGSET_DEFAULT), NO_MUTEX_GUARD, NOT_IN_BINLOG, ON_CHECK(nullptr), ON_UPDATE(nullptr)) | ( | "debug_a_global_flagset" | , |
"Debug variable to test a global persistable flagset variable." | , | ||
GLOBAL_VAR(debug_a_global_flagset) | , | ||
CMD_LINE(REQUIRED_ARG) | , | ||
debug_a_global_flagset_names | , | ||
DEFAULT(DEBUG_A_GLOBAL_FLAGSET_DEFAULT) | , | ||
NO_MUTEX_GUARD | , | ||
NOT_IN_BINLOG | , | ||
ON_CHECK(nullptr) | , | ||
ON_UPDATE(nullptr) | |||
) |
Sys_var_bool anonymous_namespace{sys_vars.cc}::Sys_restrict_fk_on_non_standard_key("restrict_fk_on_non_standard_key", "Disallow the creation of foreign keys referencing non-unique key " "or partial key", NON_PERSIST SESSION_VAR(restrict_fk_on_non_standard_key), CMD_LINE(OPT_ARG), DEFAULT(true), NO_MUTEX_GUARD, NOT_IN_BINLOG, ON_CHECK(restrict_fk_on_non_standard_key_check), ON_UPDATE(nullptr)) | ( | "restrict_fk_on_non_standard_key" | , |
"Disallow the creation of foreign keys referencing non-unique key " "or partial key" | , | ||
NON_PERSIST | SESSION_VARrestrict_fk_on_non_standard_key, | ||
CMD_LINE(OPT_ARG) | , | ||
DEFAULT(true) | , | ||
NO_MUTEX_GUARD | , | ||
NOT_IN_BINLOG | , | ||
ON_CHECK(restrict_fk_on_non_standard_key_check) | , | ||
ON_UPDATE(nullptr) | |||
) |