Safety fix for adding service name to search config groups

This commit is contained in:
monty@narttu.mysql.fi 2003-10-30 01:20:38 +02:00
parent bc00893d16
commit a4fff85de5

View file

@ -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;
}