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:53 -0400 |
commit | c0f7f526310f49b37cf1b98700003cc73ba27d17 (patch) | |
tree | aef03ebc396c20c31e29cc61e1a4e04a862c644c | |
parent | 25de5330e9a575d094711a2dc5287d04ba10ad47 (diff) | |
download | mongo-c0f7f526310f49b37cf1b98700003cc73ba27d17.tar.gz |
fix drop2 test with command change
-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; } } |