summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/collection_impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/catalog/collection_impl.cpp')
-rw-r--r--src/mongo/db/catalog/collection_impl.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/mongo/db/catalog/collection_impl.cpp b/src/mongo/db/catalog/collection_impl.cpp
index e465d5839c3..0a961beecb1 100644
--- a/src/mongo/db/catalog/collection_impl.cpp
+++ b/src/mongo/db/catalog/collection_impl.cpp
@@ -646,7 +646,7 @@ RecordId CollectionImpl::updateDocument(OperationContext* opCtx,
args->preImageDoc = oldDoc.value().getOwned();
Status updateStatus =
- _recordStore->updateRecord(opCtx, oldLocation, newDoc.objdata(), newDoc.objsize(), this);
+ _recordStore->updateRecord(opCtx, oldLocation, newDoc.objdata(), newDoc.objsize());
// Update each index with each respective UpdateTicket.
if (indexesAffected) {
@@ -676,11 +676,6 @@ RecordId CollectionImpl::updateDocument(OperationContext* opCtx,
return {oldLocation};
}
-Status CollectionImpl::recordStoreGoingToUpdateInPlace(OperationContext* opCtx,
- const RecordId& loc) {
- return Status::OK();
-}
-
bool CollectionImpl::updateWithDamagesSupported() const {
if (_validator)
return false;