Commit a4fff85d authored by monty@narttu.mysql.fi's avatar monty@narttu.mysql.fi

Safety fix for adding service name to search config groups

parent bc00893d
...@@ -2644,7 +2644,8 @@ int main(int argc, char **argv) ...@@ -2644,7 +2644,8 @@ int main(int argc, char **argv)
opt_argc= 2; // Skip service-name opt_argc= 2; // Skip service-name
opt_argv=argv; opt_argv=argv;
start_mode= 1; 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); Service.Init(argv[2], mysql_service);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment