mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 09:06:21 +01:00
SERVER-660 debug
This commit is contained in:
parent
57038c5978
commit
439a43f876
@ -36,5 +36,6 @@ res = t.find( { "a" : { $elemMatch : { x : { $gt : 2 } } } } ).explain()
|
||||
assert( res.cursor.indexOf( "BtreeC" ) == 0 , "C1" );
|
||||
assert.eq( 2 , t.find( { a : { $elemMatch : { x : { $gt : 2 } } } } ).count() , "D2" );
|
||||
|
||||
printjson( t.find( { a : { $ne:2, $elemMatch : { x : { $gt : 2 } } } } ).explain() );
|
||||
assert.eq( 2 , t.find( { a : { $ne:2, $elemMatch : { x : { $gt : 2 } } } } ).count() , "E1" );
|
||||
assert( t.find( { a : { $ne:2, $elemMatch : { x : { $gt : 2 } } } } ).explain().cursor.indexOf( "BtreeC" ) == 0 , "E2" );
|
||||
|
Loading…
Reference in New Issue
Block a user