diff options
Diffstat (limited to 'jstests/core/or6.js')
-rw-r--r-- | jstests/core/or6.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/core/or6.js b/jstests/core/or6.js index 144f9ed7e9e..7b18e1c219a 100644 --- a/jstests/core/or6.js +++ b/jstests/core/or6.js @@ -6,8 +6,8 @@ var t = db.jstests_orq; t.drop(); -t.ensureIndex({a: 1, c: 1}); -t.ensureIndex({b: 1, c: 1}); +t.createIndex({a: 1, c: 1}); +t.createIndex({b: 1, c: 1}); t.save({a: 1, c: 9}); t.save({a: 1, c: 10}); |