From f217612fade6684c6003aea9a9bfc7ab41685ace Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Sun, 29 Sep 2019 16:30:57 +0200 Subject: MDEV-12684 Show what config file a sysvar got a value from change get_one_option() prototype to pass the filename and not to pass the redundant optid. --- sql/sql_plugin.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sql/sql_plugin.cc') diff --git a/sql/sql_plugin.cc b/sql/sql_plugin.cc index 7e56e0c3a67..9807a1235f5 100644 --- a/sql/sql_plugin.cc +++ b/sql/sql_plugin.cc @@ -3984,8 +3984,8 @@ static my_option *construct_help_options(MEM_ROOT *mem_root, DBUG_RETURN(opts); } -extern "C" my_bool mark_changed(int, const struct my_option *, char *); -my_bool mark_changed(int, const struct my_option *opt, char *) +extern "C" my_bool mark_changed(const struct my_option *, char *, const char *); +my_bool mark_changed(const struct my_option *opt, char *, const char *) { if (opt->app_type) { -- cgit v1.2.1