mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
SERVER-761 debug
This commit is contained in:
parent
2c7c558cf8
commit
093c24fdd0
@ -7,8 +7,11 @@ b.drop();
|
|||||||
|
|
||||||
// debug SERVER-761
|
// debug SERVER-761
|
||||||
db.getCollectionNames().forEach( function( x ) {
|
db.getCollectionNames().forEach( function( x ) {
|
||||||
v = db[ x ].validate()
|
v = db[ x ].validate();
|
||||||
assert( v.valid, x + " " + tojson( v ) );
|
if ( !v.valid ) {
|
||||||
|
print( x );
|
||||||
|
printjson( v );
|
||||||
|
}
|
||||||
} );
|
} );
|
||||||
|
|
||||||
function gh( coll , mydb ){
|
function gh( coll , mydb ){
|
||||||
|
Loading…
Reference in New Issue
Block a user