Commit 7b36ac48 authored by unknown's avatar unknown

--default-extra-file handling code fix.


mysys/default.c:
  if we check for error, we should set it.
parent 362a340d
......@@ -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