1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-14265 - RPMLint warning: shared-lib-calls-exit

Eliminated last exit() call from libmysqld.
This commit is contained in:
Sergey Vojtovich
2018-03-15 15:34:45 +04:00
parent 7033af9e81
commit 0a534348c7
28 changed files with 45 additions and 83 deletions

View File

@@ -71,8 +71,7 @@ int main(int argc, char **argv)
static char **defaults_argv;
MY_INIT(argv[0]);
sf_leaking_memory=1; /* don't report memory leaks on early exits */
if (load_defaults("my",load_default_groups,&argc,&argv))
exit(1);
load_defaults_or_exit("my", load_default_groups, &argc, &argv);
defaults_argv=argv;
get_options(&argc,&argv);