summaryrefslogtreecommitdiff
path: root/sql/sys_vars.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sys_vars.cc')
-rw-r--r--sql/sys_vars.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/sys_vars.cc b/sql/sys_vars.cc
index 72e9525db72..05c2ba9c063 100644
--- a/sql/sys_vars.cc
+++ b/sql/sys_vars.cc
@@ -3604,6 +3604,15 @@ static Sys_var_ulong Sys_progress_report_time(
SESSION_VAR(progress_report_time), CMD_LINE(REQUIRED_ARG),
VALID_RANGE(0, UINT_MAX), DEFAULT(56), BLOCK_SIZE(1));
+const char *optimizer_use_stat_tables_modes[] =
+ {"NEVER", "COMPLEMENTARY", "PREFERABLY", "EXCLUSIVELY", 0};
+static Sys_var_enum Sys_optimizer_use_stat_tables(
+ "optimizer_use_stat_tables",
+ "Specifies how to use system statistics tables. Possible values are "
+ "NEVER, COMPLEMENTARY, PREVERABLY, EXCLUSIVELY",
+ SESSION_VAR(optimizer_use_stat_tables), CMD_LINE(REQUIRED_ARG),
+ optimizer_use_stat_tables_modes, DEFAULT(0));
+
static Sys_var_mybool Sys_no_thread_alarm(
"debug_no_thread_alarm",
"Disable system thread alarm calls. Disabling it may be useful "