summaryrefslogtreecommitdiff
path: root/sql/set_var.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2021-12-24 22:16:10 +0100
committerSergei Golubchik <serg@mariadb.org>2021-12-27 13:28:25 +0100
commit89a0364fc88efa7d91d02839a25fa22e4b276995 (patch)
tree0a578aa9a343e91a16c28b663a8d529b95c83081 /sql/set_var.h
parent55bb933a880bf048ebc4ce6c6e239dcc8268958d (diff)
downloadmariadb-git-89a0364fc88efa7d91d02839a25fa22e4b276995.tar.gz
MDEV-27304 SHOW ... result columns are right-aligned
--version=value was setting sys_var::CONFIG (meaning, the value came from the config file), but the filename was left as NULL.
Diffstat (limited to 'sql/set_var.h')
-rw-r--r--sql/set_var.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/set_var.h b/sql/set_var.h
index 2d538624825..611f16e8bbb 100644
--- a/sql/set_var.h
+++ b/sql/set_var.h
@@ -450,7 +450,8 @@ int sql_set_variables(THD *thd, List<set_var_base> *var_list, bool free);
} \
} while(0)
-void set_sys_var_value_origin(void *ptr, enum sys_var::where here);
+void set_sys_var_value_origin(void *ptr, enum sys_var::where here,
+ const char *filename= NULL);
enum sys_var::where get_sys_var_value_origin(void *ptr);
inline bool IS_SYSVAR_AUTOSIZE(void *ptr)