From 8fe4426fa36587ca40a0b6c8f1c84fd9aa61e5cf Mon Sep 17 00:00:00 2001 From: Kaloian Manassiev Date: Sat, 24 Jun 2017 15:26:18 -0400 Subject: SERVER-29852 Store session id and transaction number on all commands' OperationContext --- src/mongo/db/client.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/mongo/db/client.h') 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 lsid = boost::none); + ServiceContext::UniqueOperationContext makeOperationContext(); /** * Sets the active operation context on this client to "opCtx", which must be non-NULL. -- cgit v1.2.1