diff options
author | Sergey Petrunia <sergefp@mysql.com> | 2009-03-11 23:13:39 +0300 |
---|---|---|
committer | Sergey Petrunia <sergefp@mysql.com> | 2009-03-11 23:13:39 +0300 |
commit | 7877de39fdb745ea7daebf9e30b86b5354ba504f (patch) | |
tree | f959e15dc0af30eb3066527235b89ec71e837e9f /sql/set_var.h | |
parent | 4961e008c6f8ab5f8f425243f211a2a702af0df1 (diff) | |
download | mariadb-git-7877de39fdb745ea7daebf9e30b86b5354ba504f.tar.gz |
Change optimizer_switch from no_xxx to xxx=on/xx=off.
Diffstat (limited to 'sql/set_var.h')
-rw-r--r-- | sql/set_var.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sql/set_var.h b/sql/set_var.h index f07facde0b0..eee4bc51b7e 100644 --- a/sql/set_var.h +++ b/sql/set_var.h @@ -539,11 +539,7 @@ public: ulong SV::*offset_arg) :sys_var_thd_enum(chain, name_arg, offset_arg, &optimizer_switch_typelib) {} - bool check(THD *thd, set_var *var) - { - return check_set(thd, var, enum_names); - } - void set_default(THD *thd, enum_var_type type); + bool check(THD *thd, set_var *var); uchar *value_ptr(THD *thd, enum_var_type type, LEX_STRING *base); static bool symbolic_mode_representation(THD *thd, ulonglong sql_mode, LEX_STRING *rep); |