diff options
author | Eric Milkie <milkie@10gen.com> | 2012-04-13 14:17:17 -0400 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2012-04-13 14:19:10 -0400 |
commit | 3bc6dc6e4519f3a61808e2256c32498a1559a353 (patch) | |
tree | 2ea3a69af8c36972c4c9052fbedb81c784abccac /jstests/indexb.js | |
parent | 4bac4b0711b84e566a24cc29c57b08b769b7ca1f (diff) | |
download | mongo-3bc6dc6e4519f3a61808e2256c32498a1559a353.tar.gz |
fix Win32 build -- improved cleanup for jstests
So we don't run out of memory in 32-bit mode build.
Diffstat (limited to 'jstests/indexb.js')
-rw-r--r-- | jstests/indexb.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/indexb.js b/jstests/indexb.js index 5507fee8460..1de49d6f049 100644 --- a/jstests/indexb.js +++ b/jstests/indexb.js @@ -5,9 +5,9 @@ // when it doesn't move -t = db.indexb;t = db.indexb; +t = db.indexb; db.dropDatabase(); -t.drop(); + t.ensureIndex({a:1},true); t.insert({a:1}); |