mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
Safety fix for adding service name to search config groups
This commit is contained in:
parent
7da08881a3
commit
cee3ddb401
1 changed files with 2 additions and 1 deletions
|
@ -2644,7 +2644,8 @@ int main(int argc, char **argv)
|
|||
opt_argc= 2; // Skip service-name
|
||||
opt_argv=argv;
|
||||
start_mode= 1;
|
||||
load_default_groups[3]= argv[2];
|
||||
if (my_strcasecmp(argv[2],"mysql"))
|
||||
load_default_groups[3]= argv[2];
|
||||
Service.Init(argv[2], mysql_service);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue