-
Notifications
You must be signed in to change notification settings - Fork 131
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
Fix unknown type for mediumint #962
Conversation
/rebuild |
No release note, Please follow https://github.com/pingcap/community/blob/master/contributors/release-note-checker.md |
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
/rebuild |
No release note, Please follow https://github.com/pingcap/community/blob/master/contributors/release-note-checker.md |
/rebuild |
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 to release-3.0 in PR #966 |
What problem does this PR solve?
Fix unknown type for mediumint
What is changed and how it works?
Handle
mediumint
type and write value as IntValue or UintValue instead of reaching the default case:tidb-binlog/drainer/translator/kafka.go
Line 275 in dcc9047
Check List
Tests
insert a
mediumint
type data and check data.Code changes
Side effects
Related changes
Release note