Commit 1b11e4af authored by monty@narttu.mysql.fi's avatar monty@narttu.mysql.fi

Fixed password check problem on windows (Bug #464)

parent 65a36828
......@@ -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))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment