diff options
author | Irina Yatsenko <irina.yatsenko@mongodb.com> | 2021-11-18 15:35:55 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-11-18 17:03:56 +0000 |
commit | e25f4d744b46a849b9785d233b527407c40dd830 (patch) | |
tree | 74ec1e1f51fe89a3c3c667925bdb032ed184482f /src/mongo/dbtests | |
parent | 015301ac2004c7b5bbf03a9d4e6ea77002f22653 (diff) | |
download | mongo-e25f4d744b46a849b9785d233b527407c40dd830.tar.gz |
SERVER-58429 enable group lowering into SBE for cached and multi- plans
Diffstat (limited to 'src/mongo/dbtests')
-rw-r--r-- | src/mongo/dbtests/plan_ranking.cpp | 2 | ||||
-rw-r--r-- | src/mongo/dbtests/query_stage_multiplan.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/dbtests/plan_ranking.cpp b/src/mongo/dbtests/plan_ranking.cpp index 71fcee970c6..9bda5f73ac0 100644 --- a/src/mongo/dbtests/plan_ranking.cpp +++ b/src/mongo/dbtests/plan_ranking.cpp @@ -120,7 +120,7 @@ public: fillOutPlannerParams(&_opCtx, collection.getCollection(), cq, &plannerParams); // Plan. - auto&& [statusWithMultiPlanSolns, _] = QueryPlanner::plan(*cq, plannerParams); + auto statusWithMultiPlanSolns = QueryPlanner::plan(*cq, plannerParams); ASSERT_OK(statusWithMultiPlanSolns.getStatus()); auto solutions = std::move(statusWithMultiPlanSolns.getValue()); diff --git a/src/mongo/dbtests/query_stage_multiplan.cpp b/src/mongo/dbtests/query_stage_multiplan.cpp index eaf04add3f1..3552cf095fd 100644 --- a/src/mongo/dbtests/query_stage_multiplan.cpp +++ b/src/mongo/dbtests/query_stage_multiplan.cpp @@ -401,7 +401,7 @@ TEST_F(QueryStageMultiPlanTest, MPSBackupPlan) { fillOutPlannerParams(_opCtx.get(), collection.getCollection(), cq.get(), &plannerParams); // Plan. - auto&& [statusWithMultiPlanSolns, _] = QueryPlanner::plan(*cq, plannerParams); + auto statusWithMultiPlanSolns = QueryPlanner::plan(*cq, plannerParams); ASSERT_OK(statusWithMultiPlanSolns.getStatus()); auto solutions = std::move(statusWithMultiPlanSolns.getValue()); |