mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 17:10:48 +01:00
SERVER-761 debug
This commit is contained in:
parent
2c7c558cf8
commit
093c24fdd0
@ -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 ){
|
||||
|
Loading…
Reference in New Issue
Block a user