range_tombstone_list: compare full tombstones not just timestamps

Signed-off-by: Paweł Dziepak <pdziepak@scylladb.com>
This commit is contained in:
Paweł Dziepak
2016-06-13 04:12:25 +01:00
parent df4c1c6293
commit c24f08a683

View File

@@ -86,7 +86,7 @@ void range_tombstone_list::insert_from(const schema& s,
return;
}
if (tomb.timestamp > it->tomb.timestamp) {
if (tomb > it->tomb) {
// We overwrite the current tombstone.
if (less(it->start_bound(), start_bound)) {