Skip to content

Conversation

pascaln
Copy link
Contributor

@pascaln pascaln commented Jan 3, 2015

If the value of a field is null the length is -1. So the following byte should not be readed. I've testet it with Cassandra Version 2.

Regards,
Pascal

@fabianosim
Copy link

In Cassandra version 2.0.11.83 everything is working fine with your fix. Thank you very much!
I've tested with PHP version 5.4.14 on Windows and Linux. Master commit is bugged, but this fix solves everything.
Please evseevnn, merge the pull request rom pascaln in master.

Thank you,

Fabiano

evseevnn-zz pushed a commit that referenced this pull request Jan 23, 2015
do not set a value if the column length is -1
@evseevnn-zz evseevnn-zz merged commit 84c76ca into evseevnn-zz:master Jan 23, 2015
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.

3 participants