Fix a bug of the previous fix.

This commit is contained in:
sdong 2019-10-01 16:50:15 -07:00
parent 2407812292
commit 172b9ec84c

View File

@ -130,8 +130,10 @@ class MergingIterator : public InternalIterator {
ClearHeaps(); ClearHeaps();
status_ = Status::OK(); status_ = Status::OK();
for (auto& child : children_) { for (auto& child : children_) {
{
PERF_TIMER_GUARD(seek_child_seek_time); PERF_TIMER_GUARD(seek_child_seek_time);
child.Seek(target); child.Seek(target);
}
PERF_COUNTER_ADD(seek_child_seek_count, 1); PERF_COUNTER_ADD(seek_child_seek_count, 1);
if (child.Valid()) { if (child.Valid()) {