提交 c4c50d7d authored 作者: noelgrandin's avatar noelgrandin

and un-comment code I accidentally commented out and committed

上级 8dc282eb
...@@ -40,56 +40,56 @@ public class TestIndex extends TestBase { ...@@ -40,56 +40,56 @@ public class TestIndex extends TestBase {
public void test() throws SQLException { public void test() throws SQLException {
deleteDb("index"); deleteDb("index");
testHashIndexOnMemoryTable(); testHashIndexOnMemoryTable();
// testErrorMessage(); testErrorMessage();
// testDuplicateKeyException(); testDuplicateKeyException();
// testNonUniqueHashIndex(); testNonUniqueHashIndex();
// testRenamePrimaryKey(); testRenamePrimaryKey();
// testRandomized(); testRandomized();
// testDescIndex(); testDescIndex();
// testHashIndex(); testHashIndex();
//
// if (config.networked && config.big) { if (config.networked && config.big) {
// return; return;
// } }
//
// random.setSeed(100); random.setSeed(100);
//
// deleteDb("index"); deleteDb("index");
// testWideIndex(147); testWideIndex(147);
// testWideIndex(313); testWideIndex(313);
// testWideIndex(979); testWideIndex(979);
// testWideIndex(1200); testWideIndex(1200);
// testWideIndex(2400); testWideIndex(2400);
// if (config.big) { if (config.big) {
// Random r = new Random(); Random r = new Random();
// for (int j = 0; j < 10; j++) { for (int j = 0; j < 10; j++) {
// int i = r.nextInt(3000); int i = r.nextInt(3000);
// if ((i % 100) == 0) { if ((i % 100) == 0) {
// println("width: " + i); println("width: " + i);
// } }
// testWideIndex(i); testWideIndex(i);
// } }
// } }
//
// testLike(); testLike();
// reconnect(); reconnect();
// testConstraint(); testConstraint();
// testLargeIndex(); testLargeIndex();
// testMultiColumnIndex(); testMultiColumnIndex();
// // long time; // long time;
// // time = System.currentTimeMillis(); // time = System.currentTimeMillis();
// testHashIndex(true, false); testHashIndex(true, false);
//
// testHashIndex(false, false); testHashIndex(false, false);
// // System.out.println("b-tree="+(System.currentTimeMillis()-time)); // System.out.println("b-tree="+(System.currentTimeMillis()-time));
// // time = System.currentTimeMillis(); // time = System.currentTimeMillis();
// testHashIndex(true, true); testHashIndex(true, true);
// testHashIndex(false, true); testHashIndex(false, true);
// // System.out.println("hash="+(System.currentTimeMillis()-time)); // System.out.println("hash="+(System.currentTimeMillis()-time));
//
// testMultiColumnHashIndex(); testMultiColumnHashIndex();
//
// conn.close(); conn.close();
deleteDb("index"); deleteDb("index");
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论