diff options
| author | Oleksandr Byelkin <sanja@mariadb.com> | 2022-05-08 09:31:00 +0200 |
|---|---|---|
| committer | Oleksandr Byelkin <sanja@mariadb.com> | 2022-05-08 09:31:00 +0200 |
| commit | e9af6b2a4d8750c32d4953f08f8bc5f2e33cb9e3 (patch) | |
| tree | 2e0ecfc37714f8797afa30aca2795f06dc276b23 /storage/perfschema | |
| parent | 16e276721a54663bbeaaed74003593fff7b35244 (diff) | |
| parent | bee3e96da35a5811b6815c4299d87352d2bde95c (diff) | |
| download | mariadb-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.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 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; } |
