-
Notifications
You must be signed in to change notification settings - Fork 489
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ast: add role support show grant #272
Conversation
parser.y
Outdated
@@ -854,6 +854,7 @@ import ( | |||
UserSpec "Username and auth option" | |||
UserSpecList "Username and auth option list" | |||
UserVariableList "User defined variable name list" | |||
UsingRoles "UsingRoles is role option for SHOW GRANT" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please keep aligning.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jackysp fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rest LGTM
76648a9
to
74eb848
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@kennytm Please merge this pr, because i dont have write access privilege. |
* add option for show grant * fix tab * address comment
* add option for show grant * fix tab * address comment
What problem does this PR solve?
Adding
SHOW GRANT USING roles
support.What is changed and how it works?
Adding
Roles
field forShowStmt
, which store information inUsingOption
.Check List
Tests
Code changes
Side effects