summaryrefslogtreecommitdiff
path: root/src/mongo/db/auth/auth_op_observer.h
diff options
context:
space:
mode:
authorBlake Oler <blake.oler@mongodb.com>2019-01-17 14:31:00 -0500
committerBlake Oler <blake.oler@mongodb.com>2019-02-01 14:16:52 -0500
commitb8bfe9ff391ebeb10a5c2fb86979d854d17d0fd5 (patch)
tree86f50503bc3e5e7c51ff2cb0ed42338ad73c6e39 /src/mongo/db/auth/auth_op_observer.h
parent8387824b3ac937b0489fcb94c590cc663b47348c (diff)
downloadmongo-b8bfe9ff391ebeb10a5c2fb86979d854d17d0fd5.tar.gz
SERVER-39017 Allow prepared transaction statements to persist in-memory until commit
Diffstat (limited to 'src/mongo/db/auth/auth_op_observer.h')
-rw-r--r--src/mongo/db/auth/auth_op_observer.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mongo/db/auth/auth_op_observer.h b/src/mongo/db/auth/auth_op_observer.h
index 93fd54cc7de..918dfaf10ed 100644
--- a/src/mongo/db/auth/auth_op_observer.h
+++ b/src/mongo/db/auth/auth_op_observer.h
@@ -159,9 +159,12 @@ public:
void onTransactionCommit(OperationContext* opCtx,
boost::optional<OplogSlot> commitOplogEntryOpTime,
- boost::optional<Timestamp> commitTimestamp) final {}
+ boost::optional<Timestamp> commitTimestamp,
+ std::vector<repl::ReplOperation>& statements) final {}
- void onTransactionPrepare(OperationContext* opCtx, const OplogSlot& prepareOpTime) final {}
+ void onTransactionPrepare(OperationContext* opCtx,
+ const OplogSlot& prepareOpTime,
+ std::vector<repl::ReplOperation>& statements) final {}
void onTransactionAbort(OperationContext* opCtx,
boost::optional<OplogSlot> abortOplogEntryOpTime) final {}