diff options
author | Randolph Tan <randolph@10gen.com> | 2017-07-17 09:54:31 -0400 |
---|---|---|
committer | Randolph Tan <randolph@10gen.com> | 2017-07-21 12:53:45 -0400 |
commit | f7924be532372d4754ac3a496881e9334de21a7b (patch) | |
tree | 51baa20662d8e83d4bb8ea9e48e8d662638eafea /src/mongo/db/exec/delete.h | |
parent | 769ce1808686e408bf41844c106ab5ce289339ee (diff) | |
download | mongo-f7924be532372d4754ac3a496881e9334de21a7b.tar.gz |
SERVER-28912 Thread stmtId from update and delete requests to oplog
Diffstat (limited to 'src/mongo/db/exec/delete.h')
-rw-r--r-- | src/mongo/db/exec/delete.h | 5 |
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; |