From f1a4feb1fcbb3ba35af34e16db6cf4e2e098d9cd Mon Sep 17 00:00:00 2001 From: Tomasz Grabiec Date: Fri, 18 Mar 2016 13:24:09 +0100 Subject: [PATCH] mutation_partition: Make row_tombstones_entry ReversiblyMergeable --- mutation_partition.hh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/mutation_partition.hh b/mutation_partition.hh index 221bbb44e3..9b891df48f 100644 --- a/mutation_partition.hh +++ b/mutation_partition.hh @@ -457,6 +457,14 @@ public: void apply(tombstone t) { _t.apply(t); } + // See reversibly_mergeable.hh + void apply_reversibly(row_tombstones_entry& e) { + _t.apply_reversibly(e._t); + } + // See reversibly_mergeable.hh + void revert(row_tombstones_entry& e) noexcept { + _t.revert(e._t); + } struct compare { clustering_key_prefix::less_compare _c; compare(const schema& s) : _c(s) {}