Skip to content

Fix mysql8 signedness decoding #264

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

Merged
merged 2 commits into from
Mar 28, 2019
Merged

Conversation

osheroff
Copy link
Collaborator

The table metadata only contains signedness bits for integer columns.
So in the case where there's 12 columns but only 1 integer column, mysql
will use just one byte. Our calculation was saying there should be 2
bytes, and thus our buffer overruneth.

The table metadata only contains signedness bits for integer columns.
So in the case where there's 12 columns but only 1 integer column, mysql
will use just one byte.  Our calculation was saying there should be 2
bytes, and thus our buffer overruneth.
@osheroff
Copy link
Collaborator Author

ping @shyiko, been getting quite a few pile-ons to zendesk/maxwell#1199 and would love to get a fix out

@shyiko
Copy link
Owner

shyiko commented Mar 28, 2019

Sorry, Ben. An insane amount of work lately. Merging in.

@shyiko shyiko merged commit 682a17a into shyiko:master Mar 28, 2019
roback added a commit to twingly/ecco that referenced this pull request Apr 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants