Commit d5b79094 authored by jimw@mysql.com's avatar jimw@mysql.com

Merge mysqldev@production.mysql.com:my/mysql-5.0-build

into mysql.com:/home/jimw/my/mysql-5.0-build
parents 3828b478 4ca5b3c7
......@@ -3633,10 +3633,10 @@ mysql_execute_command(THD *thd)
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;
......
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