summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/collection_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/catalog/collection_impl.h')
-rw-r--r--src/mongo/db/catalog/collection_impl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/catalog/collection_impl.h b/src/mongo/db/catalog/collection_impl.h
index 6686eda48b8..5505b1c5c4c 100644
--- a/src/mongo/db/catalog/collection_impl.h
+++ b/src/mongo/db/catalog/collection_impl.h
@@ -127,6 +127,8 @@ public:
/**
* Deletes the document with the given RecordId from the collection.
*
+ * 'stmtId' the statement id for this delete operation. Pass in kUninitializedStmtId if not
+ * applicable.
* 'fromMigrate' indicates whether the delete was induced by a chunk migration, and
* so should be ignored by the user as an internal maintenance operation and not a
* real delete.
@@ -137,6 +139,7 @@ public:
* will not be logged.
*/
void deleteDocument(OperationContext* opCtx,
+ StmtId stmtId,
const RecordId& loc,
OpDebug* opDebug,
bool fromMigrate = false,