diff options
author | Oleksandr Byelkin <sanja@mariadb.com> | 2022-05-05 10:11:03 +0200 |
---|---|---|
committer | Oleksandr Byelkin <sanja@mariadb.com> | 2022-05-05 10:11:03 +0200 |
commit | bee3e96da35a5811b6815c4299d87352d2bde95c (patch) | |
tree | ef653c89c2e5eec157bfaa6b98f47d5eef2a6b23 /storage/perfschema | |
parent | 157e66273b83119fe4837693899b2b2ef84de02c (diff) | |
download | mariadb-git-bee3e96da35a5811b6815c4299d87352d2bde95c.tar.gz |
5.7.38
Diffstat (limited to 'storage/perfschema')
-rw-r--r-- | storage/perfschema/pfs_engine_table.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |