This commit is contained in:
Oleksandr Byelkin 2022-05-05 10:11:03 +02:00
parent 157e66273b
commit bee3e96da3

View File

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