Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

SERVER-4765 sharded_passthrough.js we need to actually pass the query…

… to currentop via mongos
  • Loading branch information...
commit 527d4d28df94e6cc769d65a94e2827b5b39d6170 1 parent 5e29dc2
Greg Studer authored erh committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  s/strategy_single.cpp
View
2  s/strategy_single.cpp
@@ -201,7 +201,7 @@ namespace mongo {
for ( unsigned i=0; i<shards.size(); i++ ) {
Shard shard = shards[i];
ScopedDbConnection conn( shard );
- BSONObj temp = conn->findOne( r.getns() , BSONObj() );
+ BSONObj temp = conn->findOne( r.getns() , q.query );
if ( temp["inprog"].isABSONObj() ) {
BSONObjIterator i( temp["inprog"].Obj() );
while ( i.more() ) {
Please sign in to comment.
Something went wrong with that request. Please try again.