Merge bk-internal.mysql.com:/home/bk/mysql-4.0

into narttu.mysql.fi:/my/mysql-4.0


sql/sql_parse.cc:
  Auto merged
This commit is contained in:
unknown 2003-07-02 10:57:03 +03:00
commit 582d23a188

View File

@ -501,7 +501,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))