summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests
diff options
context:
space:
mode:
authorIrina Yatsenko <irina.yatsenko@mongodb.com>2021-11-18 15:35:55 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-11-18 17:03:56 +0000
commite25f4d744b46a849b9785d233b527407c40dd830 (patch)
tree74ec1e1f51fe89a3c3c667925bdb032ed184482f /src/mongo/dbtests
parent015301ac2004c7b5bbf03a9d4e6ea77002f22653 (diff)
downloadmongo-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.cpp2
-rw-r--r--src/mongo/dbtests/query_stage_multiplan.cpp2
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());