diff options
author | Geert Bosch <geert@mongodb.com> | 2020-04-22 01:00:21 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-06-10 16:19:05 +0000 |
commit | b63e8cc9ba5c3897c47a33a6aec9981f2e3c53de (patch) | |
tree | 0aab1c0364cc481eb1b5f0d25851e3d8214919f3 /src/mongo/dbtests/query_stage_distinct.cpp | |
parent | 07169364c2aece0fb99f4a97b796196edb033efa (diff) | |
download | mongo-b63e8cc9ba5c3897c47a33a6aec9981f2e3c53de.tar.gz |
SERVER-47873 Eliminate the Collection* saved in IndexDescriptor
Diffstat (limited to 'src/mongo/dbtests/query_stage_distinct.cpp')
-rw-r--r-- | src/mongo/dbtests/query_stage_distinct.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/dbtests/query_stage_distinct.cpp b/src/mongo/dbtests/query_stage_distinct.cpp index ee369386069..92a7bd2644e 100644 --- a/src/mongo/dbtests/query_stage_distinct.cpp +++ b/src/mongo/dbtests/query_stage_distinct.cpp @@ -144,7 +144,7 @@ public: params.bounds.fields.push_back(oil); WorkingSet ws; - DistinctScan distinct(_expCtx.get(), std::move(params), &ws); + DistinctScan distinct(_expCtx.get(), coll, std::move(params), &ws); WorkingSetID wsid; // Get our first result. @@ -212,7 +212,7 @@ public: params.bounds.fields.push_back(oil); WorkingSet ws; - DistinctScan distinct(_expCtx.get(), std::move(params), &ws); + DistinctScan distinct(_expCtx.get(), coll, std::move(params), &ws); // We should see each number in the range [1, 6] exactly once. std::set<int> seen; @@ -281,7 +281,7 @@ public: params.bounds.fields.push_back(bOil); WorkingSet ws; - DistinctScan distinct(_expCtx.get(), std::move(params), &ws); + DistinctScan distinct(_expCtx.get(), coll, std::move(params), &ws); WorkingSetID wsid; PlanStage::StageState state; |