mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-12 19:02:12 +00:00
mutation_partition: Make row_tombstones_entry ReversiblyMergeable
This commit is contained in:
Notes:
Avi Kivity
2016-03-26 22:06:40 +03:00
backport: 1.0
@@ -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) {}
|
||||
|
||||
Reference in New Issue
Block a user