diff options
author | kostja@bodhi.(none) <> | 2007-11-01 00:55:25 +0300 |
---|---|---|
committer | kostja@bodhi.(none) <> | 2007-11-01 00:55:25 +0300 |
commit | 8423c7ef227cf34f9f274659778abfdc8f869ef0 (patch) | |
tree | 3ce90b81cab766a6106d991436380e429337c7fe /sql-common/client.c | |
parent | 26326ed0b7a630fd2990d560b009895fa1ea818f (diff) | |
download | mariadb-git-8423c7ef227cf34f9f274659778abfdc8f869ef0.tar.gz |
Another attempt to fix the Windows compilation failre.
Diffstat (limited to 'sql-common/client.c')
-rw-r--r-- | sql-common/client.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sql-common/client.c b/sql-common/client.c index 5ece9c39d6c..0ca7ef16c0d 100644 --- a/sql-common/client.c +++ b/sql-common/client.c @@ -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", |