summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/delete.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/exec/delete.h')
-rw-r--r--src/mongo/db/exec/delete.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mongo/db/exec/delete.h b/src/mongo/db/exec/delete.h
index dff707e89b3..b66a7e273ea 100644
--- a/src/mongo/db/exec/delete.h
+++ b/src/mongo/db/exec/delete.h
@@ -28,9 +28,9 @@
#pragma once
-
#include "mongo/db/exec/plan_stage.h"
#include "mongo/db/jsobj.h"
+#include "mongo/db/logical_session_id.h"
namespace mongo {
@@ -62,6 +62,9 @@ struct DeleteStageParams {
// Should we return the document we just deleted?
bool returnDeleted;
+ // The stmtId for this particular delete.
+ StmtId stmtId = kUninitializedStmtId;
+
// The parsed query predicate for this delete. Not owned here.
CanonicalQuery* canonicalQuery;