Skip to content

Commit

Permalink
5.7.38
Browse files Browse the repository at this point in the history
  • Loading branch information
sanja-byelkin committed May 5, 2022
1 parent 157e662 commit bee3e96
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion storage/perfschema/pfs_engine_table.cc
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,8 @@ static bool allow_drop_table_privilege() {

assert(thd->lex != NULL);
if ((thd->lex->sql_command != SQLCOM_TRUNCATE) &&
(thd->lex->sql_command != SQLCOM_GRANT)) {
(thd->lex->sql_command != SQLCOM_GRANT) &&
(thd->lex->sql_command != SQLCOM_REVOKE)) {
return false;
}

Expand Down

0 comments on commit bee3e96

Please sign in to comment.