Skip to content

Commit bee3e96

Browse files
committed
5.7.38
1 parent 157e662 commit bee3e96

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

storage/perfschema/pfs_engine_table.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,8 @@ static bool allow_drop_table_privilege() {
862862

863863
assert(thd->lex != NULL);
864864
if ((thd->lex->sql_command != SQLCOM_TRUNCATE) &&
865-
(thd->lex->sql_command != SQLCOM_GRANT)) {
865+
(thd->lex->sql_command != SQLCOM_GRANT) &&
866+
(thd->lex->sql_command != SQLCOM_REVOKE)) {
866867
return false;
867868
}
868869

0 commit comments

Comments
 (0)