summaryrefslogtreecommitdiff
path: root/sql/set_var.cc
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2011-06-03 00:25:58 +0400
committerSergey Petrunya <psergey@askmonty.org>2011-06-03 00:25:58 +0400
commit9482e387e6a2e947dc0679f01262a983f24e848c (patch)
treed9e2b89553919cdfad739712e6432dd5b678f9b4 /sql/set_var.cc
parentc44c1bd188fc01ca56490d20e855035e8299b33f (diff)
downloadmariadb-git-9482e387e6a2e947dc0679f01262a983f24e848c.tar.gz
Change optimizer_use_mrr=auto|disable|force
to be optimizer_switch flags mrr=on|off and mrr_cost_based=on|off.
Diffstat (limited to 'sql/set_var.cc')
-rw-r--r--sql/set_var.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/sql/set_var.cc b/sql/set_var.cc
index 4d14791a355..2b7ee04649d 100644
--- a/sql/set_var.cc
+++ b/sql/set_var.cc
@@ -527,17 +527,6 @@ static sys_var_thd_ulong sys_optimizer_search_depth(&vars, "optimizer_sea
static sys_var_thd_optimizer_switch sys_optimizer_switch(&vars, "optimizer_switch",
&SV::optimizer_switch);
-const char *optimizer_use_mrr_names[] = {"auto", "force", "disable", NullS};
-TYPELIB optimizer_use_mrr_typelib= {
- array_elements(optimizer_use_mrr_names) - 1, "",
- optimizer_use_mrr_names, NULL
-};
-
-static sys_var_thd_enum sys_optimizer_use_mrr(&vars, "optimizer_use_mrr",
- &SV::optimizer_use_mrr,
- &optimizer_use_mrr_typelib,
- NULL);
-
static sys_var_const sys_pid_file(&vars, "pid_file",
OPT_GLOBAL, SHOW_CHAR,
(uchar*) pidfile_name);