Commit 343680f4 authored by unknown's avatar unknown

Fix problem with NT named pipes code (per e-mail thread).


sql/mysqld.cc:
  Should be mysql_unix_port (cut and paste error).
parent 588b8b93
...@@ -1176,7 +1176,7 @@ static void server_init(void) ...@@ -1176,7 +1176,7 @@ static void server_init(void)
pipe_name[sizeof(pipe_name)-1]= 0; /* Safety if too long string */ pipe_name[sizeof(pipe_name)-1]= 0; /* Safety if too long string */
strxnmov(pipe_name, sizeof(pipe_name)-1, "\\\\.\\pipe\\", strxnmov(pipe_name, sizeof(pipe_name)-1, "\\\\.\\pipe\\",
unix_socket, NullS); mysql_unix_port, NullS);
bzero((char*) &saPipeSecurity, sizeof(saPipeSecurity) ); bzero((char*) &saPipeSecurity, sizeof(saPipeSecurity) );
bzero((char*) &sdPipeDescriptor, sizeof(sdPipeDescriptor) ); bzero((char*) &sdPipeDescriptor, sizeof(sdPipeDescriptor) );
if (!InitializeSecurityDescriptor(&sdPipeDescriptor, if (!InitializeSecurityDescriptor(&sdPipeDescriptor,
......
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