summaryrefslogtreecommitdiff
path: root/sql/mysqld.cc
diff options
context:
space:
mode:
authormiguel@hegel.local <>2004-04-01 16:22:54 -0300
committermiguel@hegel.local <>2004-04-01 16:22:54 -0300
commit79959f377733b7f44d0f2558a495c714168332e0 (patch)
treedc0f97945141b2efeed0f277a595b344d4fcb874 /sql/mysqld.cc
parentbbbb3f6540b59414cd893973e7ab27f9b09f789c (diff)
downloadmariadb-git-79959f377733b7f44d0f2558a495c714168332e0.tar.gz
Fix for bug #3359. Bad named pipe name.
Diffstat (limited to 'sql/mysqld.cc')
-rw-r--r--sql/mysqld.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/mysqld.cc b/sql/mysqld.cc
index d602c44c8f9..63c4f53e327 100644
--- a/sql/mysqld.cc
+++ b/sql/mysqld.cc
@@ -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,