summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/group_cmd.cpp
diff options
context:
space:
mode:
authorJames Wahlin <james.wahlin@10gen.com>2016-04-06 14:45:29 -0400
committerJames Wahlin <james.wahlin@10gen.com>2016-04-20 13:22:35 -0400
commit0f1cf1b71a12d2e41aeea064848ef192bfceddd7 (patch)
treea563d427ab4126a5fb05834f1d9dc9e6c0ed7ae6 /src/mongo/db/commands/group_cmd.cpp
parent5dd37d3fa197e73fab8298e5d748e06393b053b2 (diff)
downloadmongo-0f1cf1b71a12d2e41aeea064848ef192bfceddd7.tar.gz
SERVER-23257 Report keysExamined/docsExamined/hasSortStage where valid
Diffstat (limited to 'src/mongo/db/commands/group_cmd.cpp')
-rw-r--r--src/mongo/db/commands/group_cmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/commands/group_cmd.cpp b/src/mongo/db/commands/group_cmd.cpp
index 25554261b69..60eeac1feb7 100644
--- a/src/mongo/db/commands/group_cmd.cpp
+++ b/src/mongo/db/commands/group_cmd.cpp
@@ -39,6 +39,7 @@
#include "mongo/db/exec/working_set_common.h"
#include "mongo/db/query/find_common.h"
#include "mongo/db/query/get_executor.h"
+#include "mongo/db/query/plan_summary_stats.h"
namespace mongo {
@@ -172,8 +173,7 @@ private:
if (coll) {
coll->infoCache()->notifyOfQuery(txn, summaryStats.indexesUsed);
}
- CurOp::get(txn)->debug().fromMultiPlanner = summaryStats.fromMultiPlanner;
- CurOp::get(txn)->debug().replanned = summaryStats.replanned;
+ CurOp::get(txn)->debug().setPlanSummaryMetrics(summaryStats);
invariant(STAGE_GROUP == planExecutor->getRootStage()->stageType());
GroupStage* groupStage = static_cast<GroupStage*>(planExecutor->getRootStage());