-
Notifications
You must be signed in to change notification settings - Fork 805
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
Cannot get real integer value when integer column set unsigned #104
Comments
Hi. This issue is mentioned in readme.md/implementation-notes. The problem is - binary log doesn't have information about whether column is unsigned or not and so there is no way for mysql-binlog-connector-java to do the conversion automatically. You'll have to read the column definition (using something similar to #24 (comment)) and do the conversion yourself. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
example SQL:
in binlog, we can see such statement:
when we use WriteRowsEventData.getRows, we get the negative numers, not the real value.
The text was updated successfully, but these errors were encountered: