diff options
Diffstat (limited to 'jstests/core/find8.js')
-rw-r--r-- | jstests/core/find8.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/jstests/core/find8.js b/jstests/core/find8.js index 60f66a500e3..3622eba8ae6 100644 --- a/jstests/core/find8.js +++ b/jstests/core/find8.js @@ -21,7 +21,3 @@ t.find( { a: { $gt:5,$lt:2} } ).itcount(); // Check that we can record a plan for an 'invalid' range. assert( t.find( { a: { $gt:5,$lt:2} } ).explain( true ).oldPlan ); } - -t.ensureIndex( {b:1} ); -// Check that if we do a table scan of an 'invalid' range in an or clause we don't check subsequent clauses. -assert.eq( "BasicCursor", t.find( { $or:[{ a: { $gt:5,$lt:2} }, {b:1}] } ).explain().cursor ); |