From 9f10eec5ba9db14657220d2c65649ef7ad809adf Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 2 Jul 2003 10:56:39 +0300 Subject: [PATCH] Fixed password check problem on windows (Bug #464) --- sql/sql_parse.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))