diff options
Diffstat (limited to 'jstests/or2.js')
-rw-r--r-- | jstests/or2.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/jstests/or2.js b/jstests/or2.js index 297542eb775..00e9f68decf 100644 --- a/jstests/or2.js +++ b/jstests/or2.js @@ -42,11 +42,13 @@ doTest = function( index ) { assert( t.find( { x:0,$or: [ { a : 1 } ] } ).explain().cursor.match( /Btree/ ) ); } + /* t.drop(); obj = {_id:0,x:10,a:[1,2,3]}; t.save( obj ); t.update( {x:10,$or:[ {a:2} ]}, {$set:{'a.$':100}} ); assert.eq( obj, t.findOne() ); // no change + */ } doTest( false ); |