diff options
author | Ian Boros <ian.boros@mongodb.com> | 2022-04-28 13:24:48 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-05-03 20:26:53 +0000 |
commit | 9137cd56422e7c6b24930cc7c16bf7697a13dda7 (patch) | |
tree | 7b454396a0fada4f9b9dd4993e69c4c81d28c358 /src/mongo/db/query/query_planner_test_fixture.cpp | |
parent | 58c43bddfd44c19d024114384a64f301a3644bac (diff) | |
download | mongo-9137cd56422e7c6b24930cc7c16bf7697a13dda7.tar.gz |
SERVER-66063 Allow column index to be used for queries with pipelines
Diffstat (limited to 'src/mongo/db/query/query_planner_test_fixture.cpp')
-rw-r--r-- | src/mongo/db/query/query_planner_test_fixture.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/db/query/query_planner_test_fixture.cpp b/src/mongo/db/query/query_planner_test_fixture.cpp index 867ac63cdfb..669bef27106 100644 --- a/src/mongo/db/query/query_planner_test_fixture.cpp +++ b/src/mongo/db/query/query_planner_test_fixture.cpp @@ -271,10 +271,12 @@ void QueryPlannerTest::runQuery(BSONObj query) { } void QueryPlannerTest::runQueryWithPipeline( - BSONObj query, std::vector<std::unique_ptr<InnerPipelineStageInterface>> queryLayerPipeline) { + BSONObj query, + BSONObj proj, + std::vector<std::unique_ptr<InnerPipelineStageInterface>> queryLayerPipeline) { runQueryFull(query, BSONObj(), - BSONObj(), + proj, 0, 0, BSONObj(), |