sstables: mutation_reader: Don't try to read index to skip to static row
Static row is always at the beginning, there's no point in doing index lookups.
This commit is contained in:
@@ -892,6 +892,9 @@ public:
|
||||
}
|
||||
|
||||
future<> advance_context(position_in_partition_view pos) {
|
||||
if (pos.is_static_row()) {
|
||||
return make_ready_future<>();
|
||||
}
|
||||
return [this] {
|
||||
if (!_index_in_current) {
|
||||
_index_in_current = true;
|
||||
|
||||
Reference in New Issue
Block a user