From bee3e96da35a5811b6815c4299d87352d2bde95c Mon Sep 17 00:00:00 2001 From: Oleksandr Byelkin Date: Thu, 5 May 2022 10:11:03 +0200 Subject: 5.7.38 --- storage/perfschema/pfs_engine_table.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'storage/perfschema') diff --git a/storage/perfschema/pfs_engine_table.cc b/storage/perfschema/pfs_engine_table.cc index 232f427dd4d..dd380879fdb 100644 --- a/storage/perfschema/pfs_engine_table.cc +++ b/storage/perfschema/pfs_engine_table.cc @@ -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; } -- cgit v1.2.1