diff options
author | Vicențiu Ciorbaru <vicentiu@mariadb.org> | 2020-03-05 10:52:43 +0200 |
---|---|---|
committer | Vicențiu Ciorbaru <vicentiu@mariadb.org> | 2020-03-05 10:52:43 +0200 |
commit | da10c6f448f826c5fbd904bd80de5630cf2eb0c3 (patch) | |
tree | adfd9522d693c43fff8eb42995a37e8fddc05268 /mysys | |
parent | f0d2542a37ccd0509ab37ebaa7661604f00db80d (diff) | |
parent | 395f23a10d44a63732dd69f79fb7372bc5834443 (diff) | |
download | mariadb-git-da10c6f448f826c5fbd904bd80de5630cf2eb0c3.tar.gz |
Merge branch '10.1' into 10.2
Diffstat (limited to 'mysys')
-rw-r--r-- | mysys/my_default.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mysys/my_default.c b/mysys/my_default.c index 2ca03f9daf3..c1d971f5062 100644 --- a/mysys/my_default.c +++ b/mysys/my_default.c @@ -1035,6 +1035,11 @@ void my_print_default_files(const char *conf_file) char name[FN_REFLEN], **ext; puts("\nDefault options are read from the following files in the given order:"); + if (my_defaults_file) + { + puts(my_defaults_file); + return; + } if (dirname_length(conf_file)) fputs(conf_file,stdout); @@ -1059,7 +1064,12 @@ void my_print_default_files(const char *conf_file) if (**dirs) pos= *dirs; else if (my_defaults_extra_file) + { pos= my_defaults_extra_file; + fputs(pos, stdout); + fputs(" ", stdout); + continue; + } else continue; end= convert_dirname(name, pos, NullS); |