From c088ca3d8fef6d806f92ea2d5869d8910e5cd30c Mon Sep 17 00:00:00 2001 From: Anton Korshunov Date: Mon, 18 Jan 2021 22:06:40 +0000 Subject: SERVER-53270 Include SBE PlanStage tree string into explain output --- src/mongo/db/query/plan_explainer_impl.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/mongo/db/query/plan_explainer_impl.cpp') diff --git a/src/mongo/db/query/plan_explainer_impl.cpp b/src/mongo/db/query/plan_explainer_impl.cpp index 78614450060..a04882ce57c 100644 --- a/src/mongo/db/query/plan_explainer_impl.cpp +++ b/src/mongo/db/query/plan_explainer_impl.cpp @@ -536,6 +536,11 @@ void appendMultikeyPaths(const BSONObj& keyPattern, subMultikeyPaths.doneFast(); } +const PlanExplainer::ExplainVersion& PlanExplainerImpl::getVersion() const { + static const ExplainVersion kExplainVersion = "1"; + return kExplainVersion; +} + bool PlanExplainerImpl::isMultiPlan() const { return getStageByType(_root, StageType::STAGE_MULTI_PLAN) != nullptr; } -- cgit v1.2.1