1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

fixed the service bits of the IM

This commit is contained in:
reggie@ubuntu.(none)
2005-09-13 14:53:19 -05:00
parent 6985adffc1
commit 31be8fb694
10 changed files with 58 additions and 31 deletions

View File

@ -46,8 +46,16 @@ static inline int create_mysqld_command(Buffer *buf,
if (buf->get_size()) /* malloc succeeded */
{
#ifdef __WIN__
buf->append(position, "\"", 1);
position++;
#endif
buf->append(position, mysqld_path_str, mysqld_path_len);
position+= mysqld_path_len;
#ifdef __WIN__
buf->append(position, "\"", 1);
position++;
#endif
/* here the '\0' character is copied from the option string */
buf->append(position, option, option_len);