Merge branch 'merge-perfschema-5.7' into 10.5

This commit is contained in:
Oleksandr Byelkin 2022-05-08 09:31:00 +02:00
commit e9af6b2a4d

View file

@ -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;
}