Skip to content

Commit 2060a00

Browse files
committed
Fix a previous revert
1 parent 8986577 commit 2060a00

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

table/merging_iterator.cc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,10 @@ class MergingIterator : public InternalIterator {
130130
ClearHeaps();
131131
status_ = Status::OK();
132132
for (auto& child : children_) {
133-
PERF_TIMER_GUARD(seek_child_seek_time);
134-
child.Seek(target);
133+
{
134+
PERF_TIMER_GUARD(seek_child_seek_time);
135+
child.Seek(target);
136+
}
135137
PERF_COUNTER_ADD(seek_child_seek_count, 1);
136138

137139
if (child.Valid()) {

0 commit comments

Comments
 (0)