diff options
author | Aaron <aaron@10gen.com> | 2010-07-19 00:39:16 -0700 |
---|---|---|
committer | Aaron <aaron@10gen.com> | 2010-07-19 00:39:16 -0700 |
commit | fc1707aa992d39d2a65ee070c5e55b559f31061c (patch) | |
tree | 5f365103613020932bb246cef6f61826b42fadf5 /jstests/or6.js | |
parent | 47abd4eeb2b589f823e17c56f83abcd50e5efd6b (diff) | |
download | mongo-fc1707aa992d39d2a65ee070c5e55b559f31061c.tar.gz |
SERVER-1437 update or range elimination
Diffstat (limited to 'jstests/or6.js')
-rw-r--r-- | jstests/or6.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/or6.js b/jstests/or6.js index 56b3e917ab9..3800c7874e6 100644 --- a/jstests/or6.js +++ b/jstests/or6.js @@ -27,5 +27,5 @@ t.drop(); t.ensureIndex( {a:1,b:1} ); assert.eq.automsg( "2", "t.find( {$or:[{a:{$in:[1,2]},b:5}, {a:2,b:6}]} ).explain().clauses.length" ); assert.eq.automsg( "2", "t.find( {$or:[{a:{$gt:1,$lte:2},b:5}, {a:2,b:6}]} ).explain().clauses.length" ); -assert.eq.automsg( "null", "t.find( {$or:[{a:{$gt:1,$lte:3},b:5}, {a:2,b:6}]} ).explain().clauses" ); +assert.eq.automsg( "2", "t.find( {$or:[{a:{$gt:1,$lte:3},b:5}, {a:2,b:6}]} ).explain().clauses.length" ); assert.eq.automsg( "null", "t.find( {$or:[{a:{$in:[1,2]}}, {a:2}]} ).explain().clauses" );
\ No newline at end of file |