diff options
author | Sergei Golubchik <serg@mariadb.org> | 2019-09-29 14:48:11 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2019-10-13 14:47:34 +0200 |
commit | baa628ecf3068c5f7000c5dff60bd48b438808b2 (patch) | |
tree | 3196695a113a865b4458096e72b0f25afc7f2eb0 /sql | |
parent | 1db1d22a29cb1a87c64681d2608a5aaa117bc409 (diff) | |
download | mariadb-git-baa628ecf3068c5f7000c5dff60bd48b438808b2.tar.gz |
MDEV-12684 Show what config file a sysvar got a value from
make load_defaults() store the file name in the generated option list
using a special marker ---file-marker--- option.
Pick up this filename in handle_options().
Remove ---args-separator---, use ---file-marker--- with an empty file
name instead - this simplifies checks on the caller, only one special
option to recognize.
Diffstat (limited to 'sql')
-rw-r--r-- | sql/mysqld.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/mysqld.cc b/sql/mysqld.cc index bea31975866..4fc24c3a7d5 100644 --- a/sql/mysqld.cc +++ b/sql/mysqld.cc @@ -5348,7 +5348,7 @@ int mysqld_main(int argc, char **argv) orig_argc= argc; orig_argv= argv; - my_getopt_use_args_separator= TRUE; + my_defaults_mark_files= TRUE; load_defaults_or_exit(MYSQL_CONFIG_NAME, load_default_groups, &argc, &argv); defaults_argc= argc; defaults_argv= argv; |