Fix for bug #3359. Bad named pipe name.

sql/mysqld.cc:
  Fix for bug #3359. Bad named pipe name
This commit is contained in:
unknown 2004-04-01 16:22:54 -03:00
parent 0aa510bbdf
commit 987cd628c1

View file

@ -1197,7 +1197,7 @@ static void server_init(void)
pipe_name[sizeof(pipe_name)-1]= 0; /* Safety if too long string */
strxnmov(pipe_name, sizeof(pipe_name)-1, "\\\\.\\pipe\\",
mysql_unix_port, NullS);
mysqld_unix_port, NullS);
bzero((char*) &saPipeSecurity, sizeof(saPipeSecurity));
bzero((char*) &sdPipeDescriptor, sizeof(sdPipeDescriptor));
if (!InitializeSecurityDescriptor(&sdPipeDescriptor,