summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/write_stage_common.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/exec/write_stage_common.cpp')
-rw-r--r--src/mongo/db/exec/write_stage_common.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/exec/write_stage_common.cpp b/src/mongo/db/exec/write_stage_common.cpp
index 74a3d846a2a..301ced6f3a5 100644
--- a/src/mongo/db/exec/write_stage_common.cpp
+++ b/src/mongo/db/exec/write_stage_common.cpp
@@ -50,7 +50,7 @@ bool ensureStillMatches(const Collection* collection,
if (opCtx->recoveryUnit()->getSnapshotId() != member->doc.snapshotId()) {
std::unique_ptr<SeekableRecordCursor> cursor(collection->getCursor(opCtx));
- if (!WorkingSetCommon::fetch(opCtx, ws, id, cursor)) {
+ if (!WorkingSetCommon::fetch(opCtx, ws, id, cursor, collection->ns())) {
// Doc is already deleted.
return false;
}