mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
fix issue with IM that causes commandlines that are executed to be incorrect.
server-tools/instance-manager/instance.cc: terminate the new line buffer so our strcat's will work
This commit is contained in:
@ -180,7 +180,8 @@ static int start_process(Instance_options *instance_options,
|
||||
char *cmdline= new char[cmdlen];
|
||||
if (cmdline == NULL)
|
||||
return 1;
|
||||
|
||||
|
||||
cmdline[0]= 0;
|
||||
for (int i= 0; instance_options->argv[i] != 0; i++)
|
||||
{
|
||||
strcat(cmdline, "\"");
|
||||
|
Reference in New Issue
Block a user