diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2011-06-03 00:25:58 +0400 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2011-06-03 00:25:58 +0400 |
commit | 9482e387e6a2e947dc0679f01262a983f24e848c (patch) | |
tree | d9e2b89553919cdfad739712e6432dd5b678f9b4 /sql/set_var.cc | |
parent | c44c1bd188fc01ca56490d20e855035e8299b33f (diff) | |
download | mariadb-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.cc | 11 |
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); |