Permalink
Browse files

print correct count

  • Loading branch information...
1 parent e6e2526 commit 690970bae1324bb2937494972a533c3c3a591830 Alberto Lerner committed Oct 27, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 jstests/slowNightly/sharding_cursors1.js
@@ -19,7 +19,7 @@ for (var i=0; i < toInsert; i++ ){
assert.eq(db.getLastError(), null, 'no error'); //SERVER-1541
if ( i % 1000 == 999 ) {
- print( "already inserted " + i );
+ print( "already inserted " + ( i + 1 ) );
}
}

0 comments on commit 690970b

Please sign in to comment.