diff options
author | David Storch <david.storch@10gen.com> | 2018-07-05 15:32:50 -0400 |
---|---|---|
committer | David Storch <david.storch@10gen.com> | 2018-07-16 15:56:54 -0400 |
commit | 4021ba116f22e5c2010f367ab6c038864d8bceb7 (patch) | |
tree | 93c6ed73501c625200c90fd7ad72406364dd220d /src/mongo/db/exec/multi_iterator.cpp | |
parent | c3cec1256674bd445bb7e46d3f5d0739c3087738 (diff) | |
download | mongo-4021ba116f22e5c2010f367ab6c038864d8bceb7.tar.gz |
SERVER-35973 Report MULTI_ITERATOR common exec stats correctly.
Diffstat (limited to 'src/mongo/db/exec/multi_iterator.cpp')
-rw-r--r-- | src/mongo/db/exec/multi_iterator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/exec/multi_iterator.cpp b/src/mongo/db/exec/multi_iterator.cpp index 69d83775543..6652ab1c798 100644 --- a/src/mongo/db/exec/multi_iterator.cpp +++ b/src/mongo/db/exec/multi_iterator.cpp @@ -148,7 +148,7 @@ void MultiIteratorStage::doInvalidate(OperationContext* opCtx, unique_ptr<PlanStageStats> MultiIteratorStage::getStats() { unique_ptr<PlanStageStats> ret = - make_unique<PlanStageStats>(CommonStats(kStageType), STAGE_MULTI_ITERATOR); + make_unique<PlanStageStats>(_commonStats, STAGE_MULTI_ITERATOR); ret->specific = make_unique<CollectionScanStats>(); return ret; } |