Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cqltypes: Serialize None values in collections as NULLs
Fixes scylladb#201 When using parepared statements, None values in collections were serialized as empty values (values with length == 0). This is unexpected and inconsistent - None values are serialized as NULLs (vlaues with length == -1) in other cases: - Statement arguments, both for simple and prepared statements - Collection elements in simple statement This commit fixes this weird behavior - now None values should be serialized as NULLs in all cases.
- Loading branch information