summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/do_txn_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/do_txn_test.cpp')
-rw-r--r--src/mongo/db/repl/do_txn_test.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/db/repl/do_txn_test.cpp b/src/mongo/db/repl/do_txn_test.cpp
index 2e089afebbd..4c573a9c857 100644
--- a/src/mongo/db/repl/do_txn_test.cpp
+++ b/src/mongo/db/repl/do_txn_test.cpp
@@ -63,7 +63,8 @@ public:
*/
void onTransactionCommit(OperationContext* opCtx,
boost::optional<OplogSlot> commitOplogEntryOpTime,
- boost::optional<Timestamp> commitTimestamp) override;
+ boost::optional<Timestamp> commitTimestamp,
+ std::vector<repl::ReplOperation>& statements) override;
// If present, holds the applyOps oplog entry written out by the ObObserverImpl
// onTransactionCommit.
@@ -72,7 +73,8 @@ public:
void OpObserverMock::onTransactionCommit(OperationContext* opCtx,
boost::optional<OplogSlot> commitOplogEntryOpTime,
- boost::optional<Timestamp> commitTimestamp) {
+ boost::optional<Timestamp> commitTimestamp,
+ std::vector<repl::ReplOperation>& statements) {
ASSERT(!commitOplogEntryOpTime) << commitOplogEntryOpTime->opTime;
ASSERT(!commitTimestamp) << *commitTimestamp;