![]() |
MySQL 8.4.7
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)) |
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 | ||
| ) |
| 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) | |||
| ) |