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.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/sys_vars.cc b/sql/sys_vars.cc
index 0e734476242..38456d15860 100644
--- a/sql/sys_vars.cc
+++ b/sql/sys_vars.cc
@@ -1456,6 +1456,7 @@ export const char *optimizer_switch_names[]=
"join_cache_bka",
"optimize_join_buffer_size",
"table_elimination",
+ "extended_keys",
"default", NullS
};
/** propagates changes to @@engine_condition_pushdown */
@@ -1496,7 +1497,8 @@ static Sys_var_flagset Sys_optimizer_switch(
"semijoin, "
"semijoin_with_cache, "
"subquery_cache, "
- "table_elimination "
+ "table_elimination, "
+ "extended_keys "
"} and val is one of {on, off, default}",
SESSION_VAR(optimizer_switch), CMD_LINE(REQUIRED_ARG),
optimizer_switch_names, DEFAULT(OPTIMIZER_SWITCH_DEFAULT),