mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
MDEV-6939 : Dots in file names of configuration files
Use fn_ext2() to get the file extension from last occurrence of FN_EXTCHAR ('.') instead.
This commit is contained in:
parent
822dc6f5df
commit
3c2c036248
1 changed files with 1 additions and 1 deletions
|
@ -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++)
|
||||
|
|
Loading…
Reference in a new issue