summaryrefslogtreecommitdiff
path: root/storage/perfschema
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2022-05-08 09:31:00 +0200
committerOleksandr Byelkin <sanja@mariadb.com>2022-05-08 09:31:00 +0200
commite9af6b2a4d8750c32d4953f08f8bc5f2e33cb9e3 (patch)
tree2e0ecfc37714f8797afa30aca2795f06dc276b23 /storage/perfschema
parent16e276721a54663bbeaaed74003593fff7b35244 (diff)
parentbee3e96da35a5811b6815c4299d87352d2bde95c (diff)
downloadmariadb-git-e9af6b2a4d8750c32d4953f08f8bc5f2e33cb9e3.tar.gz
Merge branch 'merge-perfschema-5.7' into 10.5
Diffstat (limited to 'storage/perfschema')
-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;
}