mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
Merge branch 'merge-perfschema-5.7' into 10.5
This commit is contained in:
commit
e9af6b2a4d
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue