-
Notifications
You must be signed in to change notification settings - Fork 490
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 set default role #266
Conversation
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.
ast/misc.go
Outdated
case SetRoleAll: | ||
ctx.WriteKeyWord(" ALL") | ||
default: | ||
ctx.WriteKeyWord("") |
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.
ctx.WriteKeyWord("") |
No need to write nothing 🙂
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.
@kennytm fixed.
Please address the comment, @imtbkcat . |
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 this pr need an approve 😊 |
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
Please resolve the merge conflict 🙂 |
@kennytm conflict has been reslove, but approve was dismissed. Please approve again and merge this pr. |
What problem does this PR solve?
Support
SET DEFAULT ROLE
to set default active roles for user.What is changed and how it works?
Add
SetDefaultRoleStmt
forast
which contain information forexecutor
to do next step.Check List
Tests
Code changes
Side effects