diff options
Diffstat (limited to 'src/mongo/db/session.h')
-rw-r--r-- | src/mongo/db/session.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/session.h b/src/mongo/db/session.h index e6e41083249..a6eee891625 100644 --- a/src/mongo/db/session.h +++ b/src/mongo/db/session.h @@ -358,6 +358,10 @@ public: return _activeTxnNumber; } + boost::optional<SingleTransactionStats> getSingleTransactionStats() const { + return _singleTransactionStats; + } + /** * If this session is holding stashed locks in _txnResourceStash, reports the current state of * the session using the provided builder. Locks the session object's mutex while running. |