mutation_partition: Make row_tombstones_entry ReversiblyMergeable

This commit is contained in:
Tomasz Grabiec
2016-03-18 13:24:09 +01:00
parent e4a576a90f
commit f1a4feb1fc
Notes: Avi Kivity 2016-03-26 22:06:40 +03:00
backport: 1.0

View File

@@ -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) {}