diff options
author | Eliot Horowitz <eliot@10gen.com> | 2009-07-06 10:42:22 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2009-07-06 10:42:22 -0400 |
commit | 7bb37b3fd2dfdd3ff3c15634236b4ca487ceda62 (patch) | |
tree | 48ea518f2ad567f5d12259aa71c694acdd578766 /jstests/index_check3.js | |
parent | 32e0fef68b7c2467235bffa3f500eac28fe90919 (diff) | |
download | mongo-7bb37b3fd2dfdd3ff3c15634236b4ca487ceda62.tar.gz |
fix $(gl)te? scanning for numeric indexes SERVER-99
Diffstat (limited to 'jstests/index_check3.js')
-rw-r--r-- | jstests/index_check3.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jstests/index_check3.js b/jstests/index_check3.js index f1615fe0944..62352e5d61c 100644 --- a/jstests/index_check3.js +++ b/jstests/index_check3.js @@ -29,8 +29,8 @@ for ( var i=0; i<100; i++ ){ t.ensureIndex( { foo : 1 } ); -//printjson( t.find( { foo : { $lt : 50 } } ).explain() ); +printjson( t.find( { foo : { $lt : 50 } } ).explain() ); assert.gt( 30 , t.find( { foo : { $lt : 50 } } ).explain().nscanned , "lt" ) -//printjson( t.find( { foo : { $gt : 50 } } ).explain() ); -//assert.gt( 30 , t.find( { foo : { $gt : 50 } } ).explain().nscanned , "gt" ) +printjson( t.find( { foo : { $gt : 50 } } ).explain() ); +assert.gt( 30 , t.find( { foo : { $gt : 50 } } ).explain().nscanned , "gt" ) |