diff options
Diffstat (limited to 'jstests/core/stages_sort.js')
-rw-r--r-- | jstests/core/stages_sort.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/stages_sort.js b/jstests/core/stages_sort.js index 46b81662100..60f22c680eb 100644 --- a/jstests/core/stages_sort.js +++ b/jstests/core/stages_sort.js @@ -8,7 +8,7 @@ if (false) { t.insert({foo: i, bar: N - i}); } - t.ensureIndex({foo: 1}); + t.createIndex({foo: 1}); // Foo <= 20, descending. ixscan1 = { |