mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
5.7.38
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user