summaryrefslogtreecommitdiff
path: root/jstests/delx.js
diff options
context:
space:
mode:
authordwight <dwight@10gen.com>2010-08-23 11:12:35 -0400
committerdwight <dwight@10gen.com>2010-08-23 11:12:35 -0400
commitc073cafa962fe98e25cc1fd1dc53931cdc17d117 (patch)
treea83d2e10d4f793fced2fd4e14ad67a74eb7100d3 /jstests/delx.js
parentd368769ad19b7d7872c29d1f3c496cb6ea41905e (diff)
downloadmongo-c073cafa962fe98e25cc1fd1dc53931cdc17d117.tar.gz
fix an old but serious bug with cursors 162
Diffstat (limited to 'jstests/delx.js')
-rw-r--r--jstests/delx.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/jstests/delx.js b/jstests/delx.js
index 769fa7f58fb..3f8c88c1648 100644
--- a/jstests/delx.js
+++ b/jstests/delx.js
@@ -10,7 +10,6 @@ function setup( mydb ){
mydb.getLastError();
}
-
setup( a );
setup( b );
@@ -29,4 +28,4 @@ assert.eq( 51 , a.foo.find().itcount() , "B1" )
assert.eq( 100 , b.foo.find().itcount() , "B2" )
assert.eq( 59 , x.itcount() , "C1" )
-//assert.eq( 100 , y.itcount() , "C2" ); // this is asserting because ClientCursor byLoc doesn't take db into consideration
+assert.eq( 99 , y.itcount() , "C2" ); // this was asserting because ClientCursor byLoc doesn't take db into consideration