From b8bfe9ff391ebeb10a5c2fb86979d854d17d0fd5 Mon Sep 17 00:00:00 2001 From: Blake Oler Date: Thu, 17 Jan 2019 14:31:00 -0500 Subject: SERVER-39017 Allow prepared transaction statements to persist in-memory until commit --- src/mongo/db/auth/auth_op_observer.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/mongo/db/auth') 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 commitOplogEntryOpTime, - boost::optional commitTimestamp) final {} + boost::optional commitTimestamp, + std::vector& statements) final {} - void onTransactionPrepare(OperationContext* opCtx, const OplogSlot& prepareOpTime) final {} + void onTransactionPrepare(OperationContext* opCtx, + const OplogSlot& prepareOpTime, + std::vector& statements) final {} void onTransactionAbort(OperationContext* opCtx, boost::optional abortOplogEntryOpTime) final {} -- cgit v1.2.1