diff options
author | Matthew Russotto <matthew.russotto@10gen.com> | 2018-02-12 10:08:44 -0500 |
---|---|---|
committer | Matthew Russotto <matthew.russotto@10gen.com> | 2018-02-13 14:00:58 -0500 |
commit | 0f4b9e146be4cf9b612e34c500d91b4fdb91b07a (patch) | |
tree | e785b82c76e11f27421f6adc747f191f1b39e50a /src/mongo/db/op_observer_noop.h | |
parent | a4321b24021f6c1ec376c1c3b79f59732a3463e4 (diff) | |
download | mongo-0f4b9e146be4cf9b612e34c500d91b4fdb91b07a.tar.gz |
SERVER-33058 Add onTransactionCommit and onTransactionAbort opObservers
Diffstat (limited to 'src/mongo/db/op_observer_noop.h')
-rw-r--r-- | src/mongo/db/op_observer_noop.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/op_observer_noop.h b/src/mongo/db/op_observer_noop.h index 12aa572c231..8f59107d034 100644 --- a/src/mongo/db/op_observer_noop.h +++ b/src/mongo/db/op_observer_noop.h @@ -97,6 +97,8 @@ public: void onEmptyCapped(OperationContext* opCtx, const NamespaceString& collectionName, OptionalCollectionUUID uuid) override {} + void onTransactionCommit(OperationContext* opCtx) override{}; + void onTransactionAbort(OperationContext* opCtx) override{}; }; } // namespace mongo |