diff options
author | Dwight Merriman <dwight@10gen.com> | 2010-05-25 21:53:55 -0400 |
---|---|---|
committer | Dwight Merriman <dwight@10gen.com> | 2010-05-25 21:53:55 -0400 |
commit | a6e5b141c2d0bfac88d22fdf9d3bafc85c95b523 (patch) | |
tree | 8f35f7b6c88fdf68679a0fdbb7497e00c8695d21 | |
parent | 558f5e4166f316fea31e494d2f5ad37f1eaf2251 (diff) | |
download | mongo-a6e5b141c2d0bfac88d22fdf9d3bafc85c95b523.tar.gz |
remove extraneous logging from dbtests
-rw-r--r-- | db/pdfile.cpp | 4 | ||||
-rw-r--r-- | dbtests/jsobjtests.cpp | 4 | ||||
-rw-r--r-- | dbtests/querytests.cpp | 3 |
3 files changed, 6 insertions, 5 deletions
diff --git a/db/pdfile.cpp b/db/pdfile.cpp index 4b8cf92cddb..117eaecf3cd 100644 --- a/db/pdfile.cpp +++ b/db/pdfile.cpp @@ -998,9 +998,9 @@ namespace mongo { auto_ptr<BSONObjExternalSorter::Iterator> i = sorter.iterator(); while( i->more() ) { BSONObjExternalSorter::Data d = i->next(); - cout << d.second.toString() << endl; + /*cout << d.second.toString() << endl; cout << d.first.objsize() << endl; - cout<<"SORTER next:" << d.first.toString() << endl; + cout<<"SORTER next:" << d.first.toString() << endl;*/ } } diff --git a/dbtests/jsobjtests.cpp b/dbtests/jsobjtests.cpp index 93e499c871f..c1f49056fe8 100644 --- a/dbtests/jsobjtests.cpp +++ b/dbtests/jsobjtests.cpp @@ -1204,9 +1204,9 @@ namespace JsobjTests { auto_ptr<BSONObjExternalSorter::Iterator> i = sorter.iterator(); while( i->more() ) { BSONObjExternalSorter::Data d = i->next(); - cout << d.second.toString() << endl; + /*cout << d.second.toString() << endl; cout << d.first.objsize() << endl; - cout<<"SORTER next:" << d.first.toString() << endl; + cout<<"SORTER next:" << d.first.toString() << endl;*/ } } }; diff --git a/dbtests/querytests.cpp b/dbtests/querytests.cpp index dc48d89ec77..31e187927a9 100644 --- a/dbtests/querytests.cpp +++ b/dbtests/querytests.cpp @@ -763,7 +763,8 @@ namespace QueryTests { auto_ptr< DBClientCursor > cursor = client().query( ns, Query().sort( "7" ) ); while ( cursor->more() ){ BSONObj o = cursor->next(); - cout << " foo " << o << endl; + assert( o.valid() ); + //cout << " foo " << o << endl; } } |