summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
authorEliot Horowitz <erh@erh-mbp.local>2009-09-09 09:48:08 -0400
committerEliot Horowitz <erh@erh-mbp.local>2009-09-09 09:48:08 -0400
commitb6ce3c150b65a2170ec9716ff7f0ce49a9c007ce (patch)
tree786b79727bc780687ddc86248bf5781a3342eeb8 /jstests
parent3315fba0bbfc8aab177e4e677e75b2d242e4bd02 (diff)
downloadmongo-b6ce3c150b65a2170ec9716ff7f0ce49a9c007ce.tar.gz
more tests for SERVER-282
Diffstat (limited to 'jstests')
-rw-r--r--jstests/sort4.js14
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