summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2011-04-25 23:06:54 -0400
committerEliot Horowitz <eliot@10gen.com>2011-04-25 23:53:23 -0400
commit42942893e1661595d81022b82e3d5a05a27fee67 (patch)
treeecb75e73ded200d3450ad14c8993519601cbe9d1
parent19ac38c82309268e2af59b1f58d13cf56dfe4161 (diff)
downloadmongo-42942893e1661595d81022b82e3d5a05a27fee67.tar.gz
remove some overly verbose debugging
-rw-r--r--s/chunk.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/s/chunk.cpp b/s/chunk.cpp
index 0fb2fca1237..e63c38bae44 100644
--- a/s/chunk.cpp
+++ b/s/chunk.cpp
@@ -726,7 +726,6 @@ namespace mongo {
void ChunkManager::getShardsForQuery( set<Shard>& shards , const BSONObj& query ) {
rwlock lk( _lock , false );
- DEV PRINT(query);
//TODO look into FieldRangeSetOr
FieldRangeOrSet fros(_ns.c_str(), query, false);
@@ -762,9 +761,6 @@ namespace mongo {
BSONObj minObj = it->first.replaceFieldNames(_key.key());
BSONObj maxObj = it->second.replaceFieldNames(_key.key());
- DEV PRINT(minObj);
- DEV PRINT(maxObj);
-
ChunkRangeMap::const_iterator min, max;
min = _chunkRanges.upper_bound(minObj);
max = _chunkRanges.upper_bound(maxObj);