diff options
Diffstat (limited to 'jstests/noPassthroughWithMongod/explain1.js')
-rw-r--r-- | jstests/noPassthroughWithMongod/explain1.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthroughWithMongod/explain1.js b/jstests/noPassthroughWithMongod/explain1.js index 7b37ade1ece..1156a5b86ed 100644 --- a/jstests/noPassthroughWithMongod/explain1.js +++ b/jstests/noPassthroughWithMongod/explain1.js @@ -8,7 +8,7 @@ s1 = startParallelShell(function() { t = db.jstests_slowNightly_explain1; for (var i = 0; i < 80; ++i) { t.drop(); - t.ensureIndex({x: 1}); + t.createIndex({x: 1}); for (var j = 0; j < 1000; ++j) { t.save({x: j, y: 1}); } |