summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/query_planner_test_fixture.cpp
diff options
context:
space:
mode:
authorIan Boros <ian.boros@mongodb.com>2022-04-28 13:24:48 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-05-03 20:26:53 +0000
commit9137cd56422e7c6b24930cc7c16bf7697a13dda7 (patch)
tree7b454396a0fada4f9b9dd4993e69c4c81d28c358 /src/mongo/db/query/query_planner_test_fixture.cpp
parent58c43bddfd44c19d024114384a64f301a3644bac (diff)
downloadmongo-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.cpp6
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(),