mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-28 18:50:53 +00:00
index_reader: advance_and_check_if_present() use index_comparator
This commit is contained in:
@@ -497,8 +497,8 @@ public:
|
||||
return make_ready_future<bool>(false);
|
||||
}
|
||||
return read_partition_data().then([this, key] {
|
||||
dht::ring_position_comparator cmp(*_sstable->_schema);
|
||||
return cmp(key, partition_key()) == 0;
|
||||
index_comparator cmp(*_sstable->_schema);
|
||||
return cmp(key, current_partition_entry()) == 0;
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user