From 8d913e98e8058c6322975a858f884a769735bb43 Mon Sep 17 00:00:00 2001 From: Antonin Kral Date: Thu, 7 Apr 2011 07:35:46 +0200 Subject: Imported Upstream version 1.8.1 --- s/request.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 's/request.cpp') diff --git a/s/request.cpp b/s/request.cpp index 52f2e54..32c17cc 100644 --- a/s/request.cpp +++ b/s/request.cpp @@ -41,8 +41,7 @@ namespace mongo { assert( _d.getns() ); _id = _m.header()->id; - _clientId = p ? p->getClientId() : 0; - _clientInfo = ClientInfo::get( _clientId ); + _clientInfo = ClientInfo::get(); _clientInfo->newRequest( p ); } @@ -74,7 +73,7 @@ namespace mongo { } _m.header()->id = _id; - + _clientInfo->clearCurrentShards(); } Shard Request::primaryShard() const { -- cgit v1.2.3