Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
executor, plan: add revoke role support #9771
What problem does this PR solve?
Support revoke roles from users.
What is changed and how it works?
Add RevokeRoleStmt structure which could parser REVOKE FROM SQL. Executor in TiDB will read information from RevokeRoleStmt to delete relation from mysql.role_edges.
Executor will begin transaction to delete every information in
@@ Coverage Diff @@ ## master #9771 +/- ## =========================================== Coverage ? 77.9829% =========================================== Files ? 405 Lines ? 82118 Branches ? 0 =========================================== Hits ? 64038 Misses ? 13362 Partials ? 4718