diff options
author | Eliot Horowitz <erh@erh-mbp.local> | 2009-09-09 09:48:08 -0400 |
---|---|---|
committer | Eliot Horowitz <erh@erh-mbp.local> | 2009-09-09 09:48:08 -0400 |
commit | b6ce3c150b65a2170ec9716ff7f0ce49a9c007ce (patch) | |
tree | 786b79727bc780687ddc86248bf5781a3342eeb8 /jstests | |
parent | 3315fba0bbfc8aab177e4e677e75b2d242e4bd02 (diff) | |
download | mongo-b6ce3c150b65a2170ec9716ff7f0ce49a9c007ce.tar.gz |
more tests for SERVER-282
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/sort4.js | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/jstests/sort4.js b/jstests/sort4.js index 40b0c2c5aa1..e7c987f3bbc 100644 --- a/jstests/sort4.js +++ b/jstests/sort4.js @@ -33,9 +33,15 @@ t.save({name: 'A'}) nice( {name:1, prename:1} , "A,AB,AC,BB,BD" , "e1" ); t.save({name: 'C'}) -nice({name:1, prename:1}) + +//nice({name:1, prename:1}) //nice( {name:1, prename:1} , "A,AB,AC,BB,BD,C" , "e2" ); // SERVER-282 -t.ensureIndex( { name : 1 } ); -nice({name:1, prename:1}) -//nice( {name:1, prename:1} , "A,AB,AC,BB,BD,C" , "e2i" ); // SERVER-282 +//t.ensureIndex( { name : 1 , prename : 1 } ); +//nice({name:1, prename:1}) +//nice( {name:1, prename:1} , "A,AB,AC,BB,BD,C" , "e2ia" ); // SERVER-282 + +//t.dropIndexes(); +//t.ensureIndex( { name : 1 } ); +//nice({name:1, prename:1}) +//nice( {name:1, prename:1} , "A,AB,AC,BB,BD,C" , "e2ib" ); // SERVER-282 |