Permalink
Browse files

remove extraneous logging from dbtests

  • Loading branch information...
1 parent 558f5e4 commit a6e5b141c2d0bfac88d22fdf9d3bafc85c95b523 @dwight dwight committed May 26, 2010
Showing with 6 additions and 5 deletions.
  1. +2 −2 db/pdfile.cpp
  2. +2 −2 dbtests/jsobjtests.cpp
  3. +2 −1 dbtests/querytests.cpp
View
4 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;*/
}
}
View
4 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;*/
}
}
};
View
3 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;
}
}

0 comments on commit a6e5b14

Please sign in to comment.