summaryrefslogtreecommitdiff
path: root/s/strategy_single.cpp
diff options
context:
space:
mode:
Diffstat (limited to 's/strategy_single.cpp')
-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 b3b5502..3fd357a 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);