1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

false/true -> FALSE/TRUE

Fixes after last merge
This commit is contained in:
monty@mysql.com
2004-03-30 02:32:41 +03:00
parent 585d97b741
commit 4bc6b551f8
18 changed files with 165 additions and 67 deletions

View File

@@ -1293,20 +1293,20 @@ bool hostname_requires_resolving(const char *hostname)
{
char cur;
if (!hostname)
return false;
return FALSE;
int namelen= strlen(hostname);
int lhlen= strlen(my_localhost);
if ((namelen == lhlen) &&
!my_strnncoll(&my_charset_latin1, (const uchar *)hostname, namelen,
(const uchar *)my_localhost, strlen(my_localhost)))
return false;
return FALSE;
for (; (cur=*hostname); hostname++)
{
if ((cur != '%') && (cur != '_') && (cur != '.') &&
((cur < '0') || (cur > '9')))
return true;
return TRUE;
}
return false;
return FALSE;
}
/*