-
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
*: refine some error code #14002
*: refine some error code #14002
Conversation
Define some customized mysql.ErrCode in the parser and use them for the following packages: * server * meta/autoid * sessionctx/variable * privilege/privileges
Codecov Report
@@ Coverage Diff @@
## master #14002 +/- ##
===========================================
Coverage 80.2959% 80.2959%
===========================================
Files 482 482
Lines 121361 121361
===========================================
Hits 97448 97448
Misses 16187 16187
Partials 7726 7726 |
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
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 conflicts, @tiancaiamao . |
Done @jackysp |
/merge |
/run-all-tests |
@tiancaiamao merge failed. |
/run-unit-test |
The test failed, @tiancaiamao . |
/merge |
Your auto merge job has been accepted, waiting for 14032 |
/run-all-tests |
What problem does this PR solve?
Make the error code explicable when it's returned to MySQL client.
What is changed and how it works?
Define some customized mysql.ErrCode in the parser and use them for the following packages:
Check List
Tests