summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);