summaryrefslogtreecommitdiff
path: root/src/mongo/db/op_observer_noop.h
diff options
context:
space:
mode:
authorMatthew Russotto <matthew.russotto@10gen.com>2018-02-12 10:08:44 -0500
committerMatthew Russotto <matthew.russotto@10gen.com>2018-02-13 14:00:58 -0500
commit0f4b9e146be4cf9b612e34c500d91b4fdb91b07a (patch)
treee785b82c76e11f27421f6adc747f191f1b39e50a /src/mongo/db/op_observer_noop.h
parenta4321b24021f6c1ec376c1c3b79f59732a3463e4 (diff)
downloadmongo-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.h2
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