Commit 7b36ac48 authored by unknown's avatar unknown
Browse files

--default-extra-file handling code fix.


mysys/default.c:
  if we check for error, we should set it.
parent 362a340d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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)
        {