-
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
*: using standard error to replace terror (#19425) #19888
*: using standard error to replace terror (#19425) #19888
Conversation
Signed-off-by: ti-srebot <[email protected]>
/run-all-tests |
@imtbkcat please accept the invitation then you can push to the cherry-pick pull requests. |
parser pr: pingcap/parser#1014 |
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
go.mod
Outdated
@@ -63,3 +63,5 @@ require ( | |||
) | |||
|
|||
go 1.13 | |||
|
|||
replace github.com/pingcap/parser => github.com/imtbkcat/parser v0.0.0-20200908120703-5fc1c5049015 |
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 update this line.
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.
fixed, PTAL @zimulala
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
/run-all-tests |
cherry-pick #19425 to release-4.0
What problem does this PR solve?
Problem Summary: Replace error in tidb with standard error. parser pr is: pingcap/parser#982
What is changed and how it works?
Proposal: Standardize error codes and messages
What's Changed:
Change error message in test cases.
How it Works:
Error message changed after
terror.Error
has been replaced witherrors.Error
Related changes
pingcap/docs
/pingcap/docs-cn
:Check List
Tests
Side effects
Release note
replace error code and message with standard error.