diff options
Diffstat (limited to 'src/mongo/db/commands/find_and_modify.cpp')
-rw-r--r-- | src/mongo/db/commands/find_and_modify.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/commands/find_and_modify.cpp b/src/mongo/db/commands/find_and_modify.cpp index 4fe85f09807..877e54d6c1d 100644 --- a/src/mongo/db/commands/find_and_modify.cpp +++ b/src/mongo/db/commands/find_and_modify.cpp @@ -292,7 +292,7 @@ public: CollectionShardingState::get(opCtx, nsString)->checkShardVersionOrThrow(opCtx); const auto exec = uassertStatusOK( - getExecutorDelete(opDebug, collection.getCollection(), &parsedDelete, verbosity)); + getExecutorDelete(opDebug, &collection.getCollection(), &parsedDelete, verbosity)); auto bodyBuilder = result->getBodyBuilder(); Explain::explainStages( @@ -316,7 +316,7 @@ public: CollectionShardingState::get(opCtx, nsString)->checkShardVersionOrThrow(opCtx); const auto exec = uassertStatusOK( - getExecutorUpdate(opDebug, collection.getCollection(), &parsedUpdate, verbosity)); + getExecutorUpdate(opDebug, &collection.getCollection(), &parsedUpdate, verbosity)); auto bodyBuilder = result->getBodyBuilder(); Explain::explainStages( @@ -476,7 +476,7 @@ public: checkIfTransactionOnCappedColl(collection.getCollection(), inTransaction); const auto exec = uassertStatusOK(getExecutorDelete( - opDebug, collection.getCollection(), &parsedDelete, boost::none /* verbosity */)); + opDebug, &collection.getCollection(), &parsedDelete, boost::none /* verbosity */)); { stdx::lock_guard<Client> lk(*opCtx->getClient()); @@ -563,7 +563,7 @@ public: checkIfTransactionOnCappedColl(collection, inTransaction); const auto exec = uassertStatusOK( - getExecutorUpdate(opDebug, collection, parsedUpdate, boost::none /* verbosity */)); + getExecutorUpdate(opDebug, &collection, parsedUpdate, boost::none /* verbosity */)); { stdx::lock_guard<Client> lk(*opCtx->getClient()); |