-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
executor: Support NO_AUTO_CREATE_USER sql mode #8160
Conversation
The build error is related to the parser changes not merged. It should otherwise work. |
PTAL @tiancaiamao |
executor/grant.go
Outdated
@@ -38,6 +39,14 @@ var ( | |||
_ Executor = (*GrantExec)(nil) | |||
) | |||
|
|||
const ( | |||
codePasswordNoMatch = 1133 |
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.
It better to put line42~line48 to executor/errors.go
Thx for the feedback - I've made the changes, but the CI will still show as 'X' because of the parser dependency. |
LGTM |
Try |
Well, |
/run-all-tests |
/run-integration-ddl-test |
LGTM |
What problem does this PR solve?
Provides NO_AUTO_CREATE_USER sql mode. Fixes #8128
What is changed and how it works?
It depends on parser changes:
pingcap/parser#10
Check List
Tests
Code changes
Side effects
Related changes