diff --git a/streamed_mutation.hh b/streamed_mutation.hh index 6150c23197..05be0c0455 100644 --- a/streamed_mutation.hh +++ b/streamed_mutation.hh @@ -313,6 +313,17 @@ public: bool is_clustering_row() const { return _ck && !_bound_weight; } bool is_range_tombstone() const { return _bound_weight; } + template + void feed_hash(Hasher& hasher, const schema& s) const { + ::feed_hash(hasher, _bound_weight); + if (_ck) { + ::feed_hash(hasher, true); + _ck->feed_hash(hasher, s); + } else { + ::feed_hash(hasher, false); + } + } + clustering_key_prefix& key() { return *_ck; }