diff options
author | Aaron <aaron@10gen.com> | 2009-05-13 11:17:24 -0400 |
---|---|---|
committer | Aaron <aaron@10gen.com> | 2009-05-13 11:17:24 -0400 |
commit | b9a2a828375d1585377027eee95be1958d7db771 (patch) | |
tree | 4c434cd28ab5b0b618c09b1e0d0253c6a484d32e /jstests/count.js | |
parent | 275743285815c3fa56a4168458b44828018ae306 (diff) | |
download | mongo-b9a2a828375d1585377027eee95be1958d7db771.tar.gz |
get rid of unused 'keyMatch' annotation in query optimizer
Diffstat (limited to 'jstests/count.js')
-rw-r--r-- | jstests/count.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/jstests/count.js b/jstests/count.js index d7e7d77497f..129a369f973 100644 --- a/jstests/count.js +++ b/jstests/count.js @@ -16,8 +16,8 @@ t.ensureIndex( {b:1,a:1} ); assert.eq( 1, t.find( {a:true,b:false} ).count() ); assert.eq( 1, t.find( {b:false,a:true} ).count() ); -//t.drop(); -//t.save( {a:true,b:false} ); -//t.ensureIndex( {b:1,a:1,c:1} ); -//assert.eq( 1, t.find( {a:true,b:false} ).count() ); -//assert.eq( 1, t.find( {b:false,a:true} ).count() ); +t.drop(); +t.save( {a:true,b:false} ); +t.ensureIndex( {b:1,a:1,c:1} ); +assert.eq( 1, t.find( {a:true,b:false} ).count() ); +assert.eq( 1, t.find( {b:false,a:true} ).count() ); |