1
0
mirror of https://github.com/MariaDB/server.git synced 2025-09-02 09:41:40 +03:00

Remove compiler warnings

Simple cleanup of previous pull
This commit is contained in:
monty@narttu.mysql.fi
2003-07-04 23:06:19 +03:00
parent 22bce83c1b
commit a3fe7c0959
5 changed files with 14 additions and 6 deletions

View File

@@ -501,7 +501,10 @@ 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= thd->host_or_ip= (char*) localhost;
{
thd->host= (char*) localhost;
thd->host_or_ip= localhost;
}
else
#endif
if (!(specialflag & SPECIAL_NO_RESOLVE))