diff options
author | Nirbhay Choubey <nirbhay@mariadb.com> | 2014-10-29 22:12:31 -0400 |
---|---|---|
committer | Nirbhay Choubey <nirbhay@mariadb.com> | 2014-10-29 22:12:31 -0400 |
commit | 4dec4e1175b6494c6ba952fa3eac528ac9649888 (patch) | |
tree | 9002968dd3675c0f7dc7cc844976d6cebf25d28a /mysys | |
parent | 66085f2393772e8f0153bdf404d4c34a972c8617 (diff) | |
download | mariadb-git-4dec4e1175b6494c6ba952fa3eac528ac9649888.tar.gz |
MDEV-6939 : Dots in file names of configuration files
Use fn_ext2() to get the file extension from last occurrence
of FN_EXTCHAR ('.') instead. Also made some cosmetic changes
in mysys/mf_fn_ext.c.
Diffstat (limited to 'mysys')
-rw-r--r-- | mysys/my_default.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_default.c b/mysys/my_default.c index 8eb99d21b73..0bd76a1cff0 100644 --- a/mysys/my_default.c +++ b/mysys/my_default.c @@ -849,7 +849,7 @@ static int search_default_file_with_ext(Process_option_func opt_handler, for (i= 0; i < (uint) search_dir->number_of_files; i++) { search_file= search_dir->dir_entry + i; - ext= fn_ext(search_file->name); + ext= fn_ext2(search_file->name); /* check extension */ for (tmp_ext= (char**) f_extensions; *tmp_ext; tmp_ext++) |