summaryrefslogtreecommitdiff
path: root/jstests/or6.js
diff options
context:
space:
mode:
authorAaron <aaron@10gen.com>2010-07-19 00:39:16 -0700
committerAaron <aaron@10gen.com>2010-07-19 00:39:16 -0700
commitfc1707aa992d39d2a65ee070c5e55b559f31061c (patch)
tree5f365103613020932bb246cef6f61826b42fadf5 /jstests/or6.js
parent47abd4eeb2b589f823e17c56f83abcd50e5efd6b (diff)
downloadmongo-fc1707aa992d39d2a65ee070c5e55b559f31061c.tar.gz
SERVER-1437 update or range elimination
Diffstat (limited to 'jstests/or6.js')
-rw-r--r--jstests/or6.js2
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