diff options
author | Eliot Horowitz <eliot@10gen.com> | 2009-10-09 10:12:19 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2009-10-09 10:12:19 -0400 |
commit | 0ca301655e98b29c9d9e02c4963f8f9c7b4ee8c4 (patch) | |
tree | 4bf23fe6dbb16b0f63010fa35682325e299d8ad6 /jstests/index_check2.js | |
parent | e6069e40d9673de8d0824fef22e387a8527883ef (diff) | |
download | mongo-0ca301655e98b29c9d9e02c4963f8f9c7b4ee8c4.tar.gz |
arrays match themselves in queryies SERVER-146
Diffstat (limited to 'jstests/index_check2.js')
-rw-r--r-- | jstests/index_check2.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jstests/index_check2.js b/jstests/index_check2.js index 5ffd93bf65b..56796ac2f5a 100644 --- a/jstests/index_check2.js +++ b/jstests/index_check2.js @@ -24,9 +24,9 @@ assert.eq( 120 , t.find( q1 ).itcount() , "q1 a"); assert.eq( 120 , t.find( q2 ).itcount() , "q2 a" ); assert.eq( 60 , t.find( q3 ).itcount() , "q3 a"); -assert.eq( "BtreeCursor tags_1" , t.find( q1 ).explain().cursor ); -assert.eq( "BtreeCursor tags_1" , t.find( q2 ).explain().cursor ); -assert.eq( "BtreeCursor tags_1" , t.find( q3 ).explain().cursor ); +assert.eq( "BtreeCursor tags_1" , t.find( q1 ).explain().cursor , "e1" ); +assert.eq( "BtreeCursor tags_1" , t.find( q2 ).explain().cursor , "e2" ); +assert.eq( "BtreeCursor tags_1" , t.find( q3 ).explain().cursor , "e3" ); scanned1 = t.find(q1).explain().nscanned; scanned2 = t.find(q2).explain().nscanned; |