diff --git a/sql/sql_acl.cc b/sql/sql_acl.cc index c36302c8d26..a232406f723 100644 --- a/sql/sql_acl.cc +++ b/sql/sql_acl.cc @@ -5609,8 +5609,6 @@ bool mysql_revoke_all(THD *thd, List &list) } if (!find_acl_user(lex_user->host.str, lex_user->user.str, TRUE)) { - sql_print_error("REVOKE ALL PRIVILEGES, GRANT: User '%s'@'%s' does not " - "exists", lex_user->user.str, lex_user->host.str); result= -1; continue; }