summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--storage/perfschema/pfs_engine_table.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/perfschema/pfs_engine_table.cc b/storage/perfschema/pfs_engine_table.cc
index afd69ba8920..28715411ac2 100644
--- a/storage/perfschema/pfs_engine_table.cc
+++ b/storage/perfschema/pfs_engine_table.cc
@@ -731,7 +731,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;
}