summaryrefslogtreecommitdiff
path: root/src/mongo/db/op_observer_noop.h
diff options
context:
space:
mode:
authorJudah Schvimer <judah@mongodb.com>2018-08-07 13:42:19 -0400
committerJudah Schvimer <judah@mongodb.com>2018-08-07 13:42:19 -0400
commit0ed9472dc8c2f85e957052f01336b1247c7a6e75 (patch)
treeda761a08d90ca13f535a443447ff790910e34702 /src/mongo/db/op_observer_noop.h
parent3ff467eb73c0db1022ba4e1c182bedf65f183a3b (diff)
downloadmongo-0ed9472dc8c2f85e957052f01336b1247c7a6e75.tar.gz
SERVER-35798 preallocate prepare timestamp
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 b04fce35c50..98be250f0cf 100644
--- a/src/mongo/db/op_observer_noop.h
+++ b/src/mongo/db/op_observer_noop.h
@@ -110,7 +110,7 @@ public:
const NamespaceString& collectionName,
OptionalCollectionUUID uuid) override {}
void onTransactionCommit(OperationContext* opCtx, bool wasPrepared) override{};
- void onTransactionPrepare(OperationContext* opCtx) override{};
+ void onTransactionPrepare(OperationContext* opCtx, const OplogSlot& prepareOpTime) override{};
void onTransactionAbort(OperationContext* opCtx) override{};
void onReplicationRollback(OperationContext* opCtx,
const RollbackObserverInfo& rbInfo) override {}