summaryrefslogtreecommitdiff
path: root/src/mongo/db/op_observer_noop.h
diff options
context:
space:
mode:
authorJudah Schvimer <judah@mongodb.com>2018-07-20 13:11:12 -0400
committerJudah Schvimer <judah@mongodb.com>2018-07-20 13:17:19 -0400
commit5b6fbcf0dc4065d725b23c6fd3911a24e078e34d (patch)
treef5da305a6d3dfb072146fa75f592c67099a03bd9 /src/mongo/db/op_observer_noop.h
parent4cdaee88d7122f3ccba152ae37d3b5b69b3b398f (diff)
downloadmongo-5b6fbcf0dc4065d725b23c6fd3911a24e078e34d.tar.gz
SERVER-35597 SERVER-35598 Ensure prepared transactions can be committed
Diffstat (limited to 'src/mongo/db/op_observer_noop.h')
-rw-r--r--src/mongo/db/op_observer_noop.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/op_observer_noop.h b/src/mongo/db/op_observer_noop.h
index 9e1a496660a..b04fce35c50 100644
--- a/src/mongo/db/op_observer_noop.h
+++ b/src/mongo/db/op_observer_noop.h
@@ -109,7 +109,7 @@ public:
void onEmptyCapped(OperationContext* opCtx,
const NamespaceString& collectionName,
OptionalCollectionUUID uuid) override {}
- void onTransactionCommit(OperationContext* opCtx) override{};
+ void onTransactionCommit(OperationContext* opCtx, bool wasPrepared) override{};
void onTransactionPrepare(OperationContext* opCtx) override{};
void onTransactionAbort(OperationContext* opCtx) override{};
void onReplicationRollback(OperationContext* opCtx,