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:
@@ -7095,11 +7095,7 @@ static void test_embedded_start_stop()
|
||||
MY_INIT(argv[0]);
|
||||
|
||||
/* Load the client defaults from the .cnf file[s]. */
|
||||
if (load_defaults("my", client_test_load_default_groups, &argc, &argv))
|
||||
{
|
||||
myerror("load_defaults failed");
|
||||
exit(1);
|
||||
}
|
||||
load_defaults_or_exit("my", client_test_load_default_groups, &argc, &argv);
|
||||
|
||||
/* Parse the options (including the ones given from defaults files). */
|
||||
get_options(&argc, &argv);
|
||||
@@ -7147,12 +7143,7 @@ static void test_embedded_start_stop()
|
||||
|
||||
MY_INIT(argv[0]);
|
||||
|
||||
if (load_defaults("my", client_test_load_default_groups, &argc, &argv))
|
||||
{
|
||||
myerror("load_defaults failed \n ");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
load_defaults_or_exit("my", client_test_load_default_groups, &argc, &argv);
|
||||
get_options(&argc, &argv);
|
||||
|
||||
/* Must start the main embedded server again after the test. */
|
||||
|
Reference in New Issue
Block a user