Skip to content

Commit

Permalink
fix \. in printShardingStatus when looking up collections, part of SE…
Browse files Browse the repository at this point in the history
…RVER-3702
  • Loading branch information
erh committed Oct 24, 2011
1 parent e25062f commit 99db060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/servers.js
Original file line number Diff line number Diff line change
Expand Up @@ -993,7 +993,7 @@ printShardingStatus = function( configDB , verbose ){
output( "\t" + tojsononeline(db,"",true) );

if (db.partitioned){
configDB.collections.find( { _id : new RegExp( "^" + db._id + "\." ) } ).sort( { _id : 1 } ).forEach(
configDB.collections.find( { _id : new RegExp( "^" + db._id + "\\." ) } ).sort( { _id : 1 } ).forEach(
function( coll ){
if ( coll.dropped == false ){
output("\t\t" + coll._id + " chunks:");
Expand Down

0 comments on commit 99db060

Please sign in to comment.