Files
scylladb/cql3
Rafael Ávila de Espíndola bd93a0af52 types: Return bytes_opt from data_value::serialize
Since a data_value can contain a null value, returning bytes from
serialize() was losing information as it was mapping null to empty.

This also introduces a serialize_nonnull that still returns bytes, but
results in an internal error if called with a null value.

Signed-off-by: Rafael Ávila de Espíndola <espindola@scylladb.com>
2020-01-29 14:04:59 -08:00
..
2018-11-21 00:01:44 +02:00
2019-07-04 10:54:30 +02:00
2020-01-24 15:02:58 +01:00
2020-01-24 15:02:58 +01:00