diff options
Diffstat (limited to 'jstests/core/ork.js')
-rw-r--r-- | jstests/core/ork.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/ork.js b/jstests/core/ork.js index 9079d3819ba..7f203c74e5f 100644 --- a/jstests/core/ork.js +++ b/jstests/core/ork.js @@ -6,7 +6,7 @@ t = db.jstests_ork; t.drop(); -t.createIndex({a: 1}); +t.ensureIndex({a: 1}); t.save({a: [1, 2], b: 5}); t.save({a: [2, 4], b: 5}); |