mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
Fixed a typo that caused segmentation fault when using
--defaults-extra-file option.
This commit is contained in:
parent
71924aaaae
commit
442b2d89b1
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ int load_defaults(const char *conf_file, const char **groups,
|
|||
}
|
||||
else if (defaults_extra_file)
|
||||
{
|
||||
for (ext= (char**) f_extensions; ext; ext++)
|
||||
for (ext= (char**) f_extensions; *ext; *ext++)
|
||||
if (search_default_file(&args, &alloc, NullS, defaults_extra_file,
|
||||
*ext, &group) < 0)
|
||||
goto err; /* Fatal error */
|
||||
|
|
Loading…
Add table
Reference in a new issue