Commit bee3e96d authored by Oleksandr Byelkin's avatar Oleksandr Byelkin

5.7.38

parent 157e6627
...@@ -862,7 +862,8 @@ static bool allow_drop_table_privilege() { ...@@ -862,7 +862,8 @@ static bool allow_drop_table_privilege() {
assert(thd->lex != NULL); assert(thd->lex != NULL);
if ((thd->lex->sql_command != SQLCOM_TRUNCATE) && 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; return false;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment