diff options
author | Sergei Golubchik <serg@mariadb.org> | 2014-09-03 20:16:51 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2014-10-11 10:23:20 +0200 |
commit | 513f5840f89d061615780a950e5e1a7f176e67d8 (patch) | |
tree | 9a22c58b6fcd09497ea6e94321221221224d6829 /sql/set_var.h | |
parent | beb2422ad8084839294e4c79c227cf0f1eec8244 (diff) | |
download | mariadb-git-513f5840f89d061615780a950e5e1a7f176e67d8.tar.gz |
MDEV-6138 show sysvar's help in I_S tables
INFORMATION_SCHEMA.SYSTEM_VARIABLES
Diffstat (limited to 'sql/set_var.h')
-rw-r--r-- | sql/set_var.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/set_var.h b/sql/set_var.h index 580a3378b23..79a5d90f8a1 100644 --- a/sql/set_var.h +++ b/sql/set_var.h @@ -190,6 +190,9 @@ public: } void do_deprecated_warning(THD *thd); + virtual uchar *default_value_ptr(THD *thd) + { return (uchar*)&option.def_value; } + private: virtual bool do_check(THD *thd, set_var *var) = 0; /** @@ -382,6 +385,7 @@ extern SHOW_COMP_OPTION have_openssl; */ SHOW_VAR* enumerate_sys_vars(THD *thd, bool sorted, enum enum_var_type type); +int fill_sysvars(THD *thd, TABLE_LIST *tables, COND *cond); sys_var *find_sys_var(THD *thd, const char *str, uint length=0); int sql_set_variables(THD *thd, List<set_var_base> *var_list); |