Commit cee3ddb4 authored by unknown's avatar unknown

Safety fix for adding service name to search config groups

parent 7da08881
...@@ -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