diff options
Diffstat (limited to 'jstests/core/orh.js')
-rw-r--r-- | jstests/core/orh.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/core/orh.js b/jstests/core/orh.js index 91ce121e5a4..1ceed1d501f 100644 --- a/jstests/core/orh.js +++ b/jstests/core/orh.js @@ -5,8 +5,8 @@ t = db.jstests_orh; t.drop(); -t.createIndex({a: 1}, {sparse: true}); -t.createIndex({b: 1, a: 1}); +t.ensureIndex({a: 1}, {sparse: true}); +t.ensureIndex({b: 1, a: 1}); t.remove({}); t.save({b: 2}); |