-
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
De-duplicate error code definitions #29026
Comments
I don't take a look at the PR but prefer to keep the one under TiDB only delivers its executable but parser can be relied on as a library (there are already some I think). |
@tiancaiamao which one do you think needs to go? |
This is something I noticed too :( There are also a lot of errors in the output of |
@dveeden @tisonkun Many of the error code are TiDB-specific, I move the You can see the old code in parser as frozen, in case someone still referencing it. |
Problem description
Error codes are now defined in both
errno
andparser/mysql
. Sometimes with conflicting definitions.From
parser/mysql/errcode.go
( b01eede ):The text was updated successfully, but these errors were encountered: