Skip to content
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

fixed decoding LCB value for large feilds #2

Merged
merged 1 commit into from
May 11, 2014
Merged

fixed decoding LCB value for large feilds #2

merged 1 commit into from
May 11, 2014

Conversation

fsw
Copy link
Owner

@fsw fsw commented May 11, 2014

fixed decoding LCB value for fields > 250 bytes.
according to this doc:
http://dev.mysql.com/doc/internals/en/event-content-writing-conventions.html

Current implementation ignored this and was hanging waiting for more packets when VARCHAR was larger than 250 bytes.

There is also parseLCB function that is doing this exactly,
but it seems to be not used since commit 01b30f1

this probably fixes mysql-d#18

fixed decoding LCB value for fields > 250 bytes.
according to this doc:
http://dev.mysql.com/doc/internals/en/event-content-writing-conventions.html

Current implementation ignored this and was hanging waiting for more packets when VARCHAR was larger than 250 bytes.

There is also parseLCB function that is doing this exactly,
but it seems to be not used since commit 01b30f1

this probably fixes mysql-d#18
fsw added a commit that referenced this pull request May 11, 2014
fixed decoding LCB value for large feilds
@fsw fsw merged commit 9d02f6b into master May 11, 2014
@fsw fsw deleted the patch-1 branch May 30, 2014 07:16
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.

select varchar - thinks the package is incomplete while it's actually complete
1 participant