Permalink
Browse files

fix drop2 test with command change

  • Loading branch information...
1 parent 25de533 commit c0f7f526310f49b37cf1b98700003cc73ba27d17 @erh erh committed Jul 7, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 jstests/drop2.js
View
6 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;
}
}

0 comments on commit c0f7f52

Please sign in to comment.