diff options
author | unknown <reggie@big_geek.> | 2005-10-25 09:29:39 -0500 |
---|---|---|
committer | unknown <reggie@big_geek.> | 2005-10-25 09:29:39 -0500 |
commit | 73b4d7ebeda4e423173783dfdd154f9dc19f59e9 (patch) | |
tree | 82591c8bff8dde089fa3c5d39321b287028e3ad8 /server-tools | |
parent | abd77bc56397c1522f2b729334f877f9806dafd2 (diff) | |
download | mariadb-git-73b4d7ebeda4e423173783dfdd154f9dc19f59e9.tar.gz |
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
Diffstat (limited to 'server-tools')
-rw-r--r-- | server-tools/instance-manager/instance.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server-tools/instance-manager/instance.cc b/server-tools/instance-manager/instance.cc index 0756f0b4d9f..3d54d000d5f 100644 --- a/server-tools/instance-manager/instance.cc +++ b/server-tools/instance-manager/instance.cc @@ -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, "\""); |