Commit 6bcafc51 authored by unknown's avatar unknown
Browse files

- Added a missing pair of parenthesis. (already commited by Jani, ChangeSet@1.1819)

parent 94c3958e
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -3633,10 +3633,10 @@ mysql_execute_command(THD *thd)
      while ((user=user_list++))
      {
	if (user->password.str &&
	    strcmp(thd->user, user->user.str) ||
	    (strcmp(thd->user, user->user.str) ||
	     user->host.str &&
	     my_strcasecmp(system_charset_info,
			  user->host.str, thd->host_or_ip))
			   user->host.str, thd->host_or_ip)))
	{
	  if (check_access(thd, UPDATE_ACL, "mysql", 0, 1, 0))
	    goto error;