From 4ca5b3c73b14162d14f624dd1b7b217d345169ff Mon Sep 17 00:00:00 2001 From: "lenz@mysql.com" <> Date: Thu, 17 Mar 2005 18:49:48 +0100 Subject: [PATCH] - Added a missing pair of parenthesis. (already commited by Jani, ChangeSet@1.1819) --- sql/sql_parse.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index a39ccacfe00..cc5bd90e4f2 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -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;