Commit e4d19648 authored by ramil@mysql.com's avatar ramil@mysql.com

--default-extra-file handling code fix.

parent 152f7518
......@@ -152,8 +152,8 @@ int my_search_option_files(const char *conf_file, int *argc, char ***argv,
}
else if (defaults_extra_file)
{
if (search_default_file_with_ext(func, func_ctx, "", "",
defaults_extra_file, 0) < 0)
if ((error= search_default_file_with_ext(func, func_ctx, "", "",
defaults_extra_file, 0)) < 0)
goto err; /* Fatal error */
if (error > 0)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment