summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/plan_explainer_impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/query/plan_explainer_impl.cpp')
-rw-r--r--src/mongo/db/query/plan_explainer_impl.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mongo/db/query/plan_explainer_impl.cpp b/src/mongo/db/query/plan_explainer_impl.cpp
index 2bbb1ff7726..e832698de78 100644
--- a/src/mongo/db/query/plan_explainer_impl.cpp
+++ b/src/mongo/db/query/plan_explainer_impl.cpp
@@ -332,12 +332,6 @@ void statsToBSON(const PlanStageStats& stats,
if (verbosity >= ExplainOptions::Verbosity::kExecStats) {
bob->appendNumber("keysExamined", static_cast<long long>(spec->keysExamined));
}
- } else if (STAGE_ENSURE_SORTED == stats.stageType) {
- EnsureSortedStats* spec = static_cast<EnsureSortedStats*>(stats.specific.get());
-
- if (verbosity >= ExplainOptions::Verbosity::kExecStats) {
- bob->appendNumber("nDropped", spec->nDropped);
- }
} else if (STAGE_FETCH == stats.stageType) {
FetchStats* spec = static_cast<FetchStats*>(stats.specific.get());
if (verbosity >= ExplainOptions::Verbosity::kExecStats) {