diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2017-06-24 15:26:18 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2017-06-27 09:56:58 -0400 |
commit | 8fe4426fa36587ca40a0b6c8f1c84fd9aa61e5cf (patch) | |
tree | 80441172024fa0d6e752e5766aacbbce8f706703 /src/mongo/db/client.h | |
parent | b7f7d746eba8ec30d059352c811e9ac57618b3bd (diff) | |
download | mongo-8fe4426fa36587ca40a0b6c8f1c84fd9aa61e5cf.tar.gz |
SERVER-29852 Store session id and transaction number on all commands' OperationContext
Diffstat (limited to 'src/mongo/db/client.h')
-rw-r--r-- | src/mongo/db/client.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mongo/db/client.h b/src/mongo/db/client.h index a4f263f7d92..3ceb236c2dc 100644 --- a/src/mongo/db/client.h +++ b/src/mongo/db/client.h @@ -40,7 +40,6 @@ #include "mongo/base/disallow_copying.h" #include "mongo/db/client.h" -#include "mongo/db/logical_session_id.h" #include "mongo/db/namespace_string.h" #include "mongo/db/service_context.h" #include "mongo/platform/random.h" @@ -173,8 +172,7 @@ public: * * If provided, the LogicalSessionId links this operation to a logical session. */ - ServiceContext::UniqueOperationContext makeOperationContext( - boost::optional<LogicalSessionId> lsid = boost::none); + ServiceContext::UniqueOperationContext makeOperationContext(); /** * Sets the active operation context on this client to "opCtx", which must be non-NULL. |