summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/internal_plans.cpp
diff options
context:
space:
mode:
authorDavid Storch <david.storch@10gen.com>2018-11-16 18:06:14 -0500
committerDavid Storch <david.storch@10gen.com>2018-11-27 17:12:22 -0500
commit6efa4ed0820b6f6e3a2615dc5f42e13ce3415ad8 (patch)
tree464a742478e5f3119632114cca1d8508b63bb576 /src/mongo/db/query/internal_plans.cpp
parentf588dad3e3b16a9e717cf457485dad3e7f45ae1d (diff)
downloadmongo-6efa4ed0820b6f6e3a2615dc5f42e13ce3415ad8.tar.gz
SERVER-37448 Make remaining PlanStages check catalog validity on restore.
Handles COUNT_SCAN, DISTINCT_SCAN, IDHACK, and TEXT_OR.
Diffstat (limited to 'src/mongo/db/query/internal_plans.cpp')
-rw-r--r--src/mongo/db/query/internal_plans.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/query/internal_plans.cpp b/src/mongo/db/query/internal_plans.cpp
index 6f4d976bd87..cc29c363412 100644
--- a/src/mongo/db/query/internal_plans.cpp
+++ b/src/mongo/db/query/internal_plans.cpp
@@ -165,7 +165,7 @@ std::unique_ptr<PlanExecutor, PlanExecutor::Deleter> InternalPlanner::updateWith
invariant(collection);
auto ws = stdx::make_unique<WorkingSet>();
- auto idHackStage = stdx::make_unique<IDHackStage>(opCtx, collection, key, ws.get(), descriptor);
+ auto idHackStage = stdx::make_unique<IDHackStage>(opCtx, key, ws.get(), descriptor);
auto root =
stdx::make_unique<UpdateStage>(opCtx, params, ws.get(), collection, idHackStage.release());