mirror of
https://github.com/MariaDB/server.git
synced 2025-03-29 18:35:35 +01:00
Another attempt to fix the Windows compilation failre.
This commit is contained in:
parent
189ec0e0af
commit
16bf418de5
1 changed files with 3 additions and 3 deletions
|
@ -349,7 +349,7 @@ static void set_mysql_extended_error(MYSQL *mysql, int errcode,
|
|||
|
||||
#ifdef __WIN__
|
||||
|
||||
HANDLE create_named_pipe(NET *net, uint connect_timeout, char **arg_host,
|
||||
HANDLE create_named_pipe(MYSQL *mysql, uint connect_timeout, char **arg_host,
|
||||
char **arg_unix_socket)
|
||||
{
|
||||
HANDLE hPipe=INVALID_HANDLE_VALUE;
|
||||
|
@ -1950,8 +1950,8 @@ CLI_MYSQL_REAL_CONNECT(MYSQL *mysql,const char *host, const char *user,
|
|||
(! have_tcpip && (unix_socket || !host && is_NT()))))
|
||||
{
|
||||
sock=0;
|
||||
if ((hPipe=create_named_pipe(net, mysql->options.connect_timeout,
|
||||
(char**) &host, (char**) &unix_socket)) ==
|
||||
if ((hPipe= create_named_pipe(mysql, mysql->options.connect_timeout,
|
||||
(char**) &host, (char**) &unix_socket)) ==
|
||||
INVALID_HANDLE_VALUE)
|
||||
{
|
||||
DBUG_PRINT("error",
|
||||
|
|
Loading…
Add table
Reference in a new issue