Added a missing pair of parenthesis.

This commit is contained in:
jani@a193-229-222-105.elisa-laajakaista.fi 2005-03-17 19:24:27 +02:00
parent d713011627
commit 130d1c0877

View file

@ -3633,10 +3633,10 @@ unsent_create_error:
while ((user=user_list++))
{
if (user->password.str &&
strcmp(thd->user, user->user.str) ||
user->host.str &&
my_strcasecmp(system_charset_info,
user->host.str, thd->host_or_ip))
(strcmp(thd->user, user->user.str) ||
user->host.str &&
my_strcasecmp(system_charset_info,
user->host.str, thd->host_or_ip)))
{
if (check_access(thd, UPDATE_ACL, "mysql", 0, 1, 0))
goto error;