summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2011-04-19 16:39:51 -0400
committerEliot Horowitz <eliot@10gen.com>2011-04-19 17:47:10 -0400
commitdff2c6b66e29f2d7b91fe5994d07532adca38135 (patch)
tree695815ce23689d3d8719df0ce49db0b143651ab3
parent9de0190fbcd977c5be374b84252fef8f50547cce (diff)
downloadmongo-dff2c6b66e29f2d7b91fe5994d07532adca38135.tar.gz
don't use ShardConnection for getMore SERVER-2961
test forthcoming
-rw-r--r--s/strategy_single.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/s/strategy_single.cpp b/s/strategy_single.cpp
index b3b5502a2c8..3fd357afc4a 100644
--- a/s/strategy_single.cpp
+++ b/s/strategy_single.cpp
@@ -88,7 +88,7 @@ namespace mongo {
long long id = r.d().getInt64( 4 );
- ShardConnection conn( cursorCache.getRef( id ) , ns );
+ ScopedDbConnection conn( cursorCache.getRef( id ) );
Message response;
bool ok = conn->callRead( r.m() , response);