diff options
author | unknown <monty@narttu.mysql.fi> | 2003-07-02 10:56:39 +0300 |
---|---|---|
committer | unknown <monty@narttu.mysql.fi> | 2003-07-02 10:56:39 +0300 |
commit | cbd5fa1009001f9a7f3d8c6adcebc80705e49550 (patch) | |
tree | 237f6bb03b83285a79c5657f44f75ab49a863810 /sql/sql_parse.cc | |
parent | bb794f7a7e70b54d6ad80e301b67e7705734953a (diff) | |
download | mariadb-git-cbd5fa1009001f9a7f3d8c6adcebc80705e49550.tar.gz |
Fixed password check problem on windows (Bug #464)
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r-- | sql/sql_parse.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index 3b3da6d35b3..5857dc50c4f 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -500,7 +500,7 @@ check_connections(THD *thd) #if !defined(HAVE_SYS_UN_H) || defined(HAVE_mit_thread) /* Fast local hostname resolve for Win32 */ if (!strcmp(thd->ip,"127.0.0.1")) - thd->host=(char*) localhost; + thd->host= thd->host_or_ip= (char*) localhost; else #endif if (!(specialflag & SPECIAL_NO_RESOLVE)) |