0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 17:10:48 +01:00
This commit is contained in:
Aaron 2010-03-30 11:59:45 -07:00
parent 2c7c558cf8
commit 093c24fdd0

View File

@ -7,8 +7,11 @@ b.drop();
// debug SERVER-761
db.getCollectionNames().forEach( function( x ) {
v = db[ x ].validate()
assert( v.valid, x + " " + tojson( v ) );
v = db[ x ].validate();
if ( !v.valid ) {
print( x );
printjson( v );
}
} );
function gh( coll , mydb ){