diff options
Diffstat (limited to 's/client.cpp')
-rw-r--r-- | s/client.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/s/client.cpp b/s/client.cpp index c0d25fb..c053289 100644 --- a/s/client.cpp +++ b/s/client.cpp @@ -141,7 +141,7 @@ namespace mongo { if ( shards->size() == 1 ) { string theShard = *(shards->begin() ); - ShardConnection conn( theShard , "" ); + ShardConnection conn( theShard , "", true ); BSONObj res; bool ok = false; @@ -211,7 +211,7 @@ namespace mongo { for ( set<string>::iterator i = shards->begin(); i != shards->end(); i++ ) { string theShard = *i; bbb.append( theShard ); - ShardConnection conn( theShard , "" ); + ShardConnection conn( theShard , "", true ); BSONObj res; bool ok = false; try { |