summaryrefslogtreecommitdiff
path: root/jstests/core/find6.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/find6.js')
-rw-r--r--jstests/core/find6.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/find6.js b/jstests/core/find6.js
index 7edf1739c78..4c7a0a9384b 100644
--- a/jstests/core/find6.js
+++ b/jstests/core/find6.js
@@ -34,7 +34,7 @@ function f() {
for (var pass = 0; pass <= 1; pass++) {
f();
- q.ensureIndex({a: 1});
+ q.createIndex({a: 1});
}
t = db.multidim;