diff options
author | Jack Mulrow <jack.mulrow@mongodb.com> | 2017-09-12 11:17:25 -0400 |
---|---|---|
committer | Jack Mulrow <jack.mulrow@mongodb.com> | 2017-09-14 10:31:46 -0400 |
commit | 5767ee2421fa6c7934a90e9083f07743a83dcf71 (patch) | |
tree | 8f6f2f5ba5b94fa4bb29e7c9fb4e49d535d20b8e /src/mongo/db/session_catalog.h | |
parent | a7046c8530dfa172cdca86b8eea5f4243ffeabcb (diff) | |
download | mongo-5767ee2421fa6c7934a90e9083f07743a83dcf71.tar.gz |
SERVER-30912 Only check out sessions for write commands
Diffstat (limited to 'src/mongo/db/session_catalog.h')
-rw-r--r-- | src/mongo/db/session_catalog.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/session_catalog.h b/src/mongo/db/session_catalog.h index 94c3dba97af..3cb341697da 100644 --- a/src/mongo/db/session_catalog.h +++ b/src/mongo/db/session_catalog.h @@ -250,7 +250,7 @@ class OperationContextSession { MONGO_DISALLOW_COPYING(OperationContextSession); public: - OperationContextSession(OperationContext* opCtx); + OperationContextSession(OperationContext* opCtx, bool checkOutSession); ~OperationContextSession(); static Session* get(OperationContext* opCtx); |