mirror of
https://github.com/MariaDB/server.git
synced 2026-04-26 02:05:31 +02:00
--default-extra-file handling code fix.
mysys/default.c: if we check for error, we should set it.
This commit is contained in:
parent
362a340de3
commit
7b36ac4819
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue