diff options
author | Charlie Swanson <charlie.swanson@mongodb.com> | 2015-08-31 16:35:35 -0400 |
---|---|---|
committer | Charlie Swanson <charlie.swanson@mongodb.com> | 2015-08-31 16:59:34 -0400 |
commit | f144f4f5f44e6bb38d640cecc0cc05356698b2e9 (patch) | |
tree | 9ecdb5af8ac48b66c923c8800afed7f59d410654 /jstests/noPassthroughWithMongod | |
parent | 50e7b420230c014e4ae27d9aae9e0760965fe858 (diff) | |
download | mongo-f144f4f5f44e6bb38d640cecc0cc05356698b2e9.tar.gz |
SERVER-20226 Fix reference to undefined variable in bulk_shard_insert.js
Diffstat (limited to 'jstests/noPassthroughWithMongod')
-rw-r--r-- | jstests/noPassthroughWithMongod/bulk_shard_insert.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthroughWithMongod/bulk_shard_insert.js b/jstests/noPassthroughWithMongod/bulk_shard_insert.js index 74810a7c668..068a75b7820 100644 --- a/jstests/noPassthroughWithMongod/bulk_shard_insert.js +++ b/jstests/noPassthroughWithMongod/bulk_shard_insert.js @@ -43,7 +43,7 @@ while( docsInserted < numDocs ){ var bulk = [] for( var i = 0; i < currBulkSize; i++ ){ - bulk.push({ hi : "there", at : docsInserted, i : i, x : x }) + bulk.push({hi: "there", at: docsInserted, i: i, x: data}); } assert.writeOK(coll.insert( bulk )); |