mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 01:21:03 +01:00
e4e846e150
shows problem with recursive mutex and DBDirectClient
15 lines
260 B
JavaScript
15 lines
260 B
JavaScript
|
|
t = db.evalb;
|
|
t.drop();
|
|
|
|
t.save( { x : 3 } );
|
|
|
|
assert.eq( 3, db.eval( function(){ return db.evalb.findOne().x; } ) , "A" );
|
|
|
|
db.setProfilingLevel( 2 );
|
|
|
|
assert.eq( 3, db.eval( function(){ return db.evalb.findOne().x; } ) , "B" );
|
|
|
|
db.setProfilingLevel( 0 );
|
|
|