diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-02-02 12:52:44 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-02-02 12:52:44 +0100 |
commit | f0b6f7fb20e4eacf0f70a6c71cc199762278663b (patch) | |
tree | 9c4c35c1ccf6ba69fdc2574bf0c14c4226ae8d25 /sql/set_var.cc | |
parent | 48061c32f10c09e0edca59897f2bd42899ce89c7 (diff) | |
download | mariadb-git-f0b6f7fb20e4eacf0f70a6c71cc199762278663b.tar.gz |
remove "invisible sysvars" oxymoron
Diffstat (limited to 'sql/set_var.cc')
-rw-r--r-- | sql/set_var.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sql/set_var.cc b/sql/set_var.cc index be624351731..9f5404d75ce 100644 --- a/sql/set_var.cc +++ b/sql/set_var.cc @@ -487,10 +487,6 @@ SHOW_VAR* enumerate_sys_vars(THD *thd, bool sorted, enum enum_var_type type) if (type == OPT_GLOBAL && var->check_type(type)) continue; - /* don't show non-visible variables */ - if (var->not_visible()) - continue; - show->name= var->name.str; show->value= (char*) var; show->type= SHOW_SYS; @@ -532,10 +528,6 @@ sys_var *intern_find_sys_var(const char *str, uint length) var= (sys_var*) my_hash_search(&system_variable_hash, (uchar*) str, length ? length : strlen(str)); - /* Don't show non-visible variables. */ - if (var && var->not_visible()) - return NULL; - return var; } |