diff options
author | Eliot Horowitz <eliot@10gen.com> | 2011-07-07 08:29:15 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2011-07-07 08:29:15 -0400 |
commit | 20b60c29948b30b6ff9c989d67eaf0c61d653709 (patch) | |
tree | 5df4a3fb52de2752b4813ec05ebdb8507ec3043c /jstests/drop2.js | |
parent | d1f8260ff29c34cd254659a9dda4eee91efd6591 (diff) | |
download | mongo-20b60c29948b30b6ff9c989d67eaf0c61d653709.tar.gz |
fix drop2 test with command change
Diffstat (limited to 'jstests/drop2.js')
-rw-r--r-- | jstests/drop2.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jstests/drop2.js b/jstests/drop2.js index fa239fd66f2..a1d619df1b3 100644 --- a/jstests/drop2.js +++ b/jstests/drop2.js @@ -2,7 +2,7 @@ t = db.jstests_drop2; t.drop(); function debug( x ) { -// printjson( x ); + //printjson( x ); } t.save( {} ); @@ -14,11 +14,11 @@ function op( drop ) { for ( var i in p ) { var o = p[ i ]; if ( drop ) { - if ( o.active && o.query && o.query.drop && o.query.drop == "jstests_drop2" ) { + if ( o.query && o.query.drop && o.query.drop == "jstests_drop2" ) { return o.opid; } } else { - if ( o.active && o.query && o.query.query && o.query.query.$where && o.ns == "test.jstests_drop2" ) { + if ( o.query && o.query.query && o.query.query.$where && o.ns == "test.jstests_drop2" ) { return o.opid; } } |