提交 1a6ac3c0 authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 5270438e
...@@ -18,7 +18,11 @@ Change Log ...@@ -18,7 +18,11 @@ Change Log
<h1>Change Log</h1> <h1>Change Log</h1>
<h2>Next Version (unreleased)</h2> <h2>Next Version (unreleased)</h2>
<ul><li>- <ul><li>When using LOG=2 and repeatedly updating the last row rows of a table, the index file grew quickly.
</li><li>In versions 1.1.105 and 1.1.106, encrypted script files of earlier versions could not be processed.
This is now again possible. The problem was that such script files were stored in a special format
(STORAGE=TEXT) but support for this format was removed in version 1.1.105.
</li><li>Enabling the trace mechanism by creating a specially named file is no longer supported.
</li></ul> </li></ul>
<h2>Version 1.1.106 (2009-01-04)</h2> <h2>Version 1.1.106 (2009-01-04)</h2>
......
...@@ -279,6 +279,8 @@ java org.h2.test.TestAll timer ...@@ -279,6 +279,8 @@ java org.h2.test.TestAll timer
/* /*
update copyright year to 2009 for changed files
JCR: for each node type, create a table; one 'dynamic' table with parameter; JCR: for each node type, create a table; one 'dynamic' table with parameter;
option to cache the results option to cache the results
<link rel="icon" type="image/png" href="/path/image.png"> <link rel="icon" type="image/png" href="/path/image.png">
...@@ -437,6 +439,7 @@ http://www.w3schools.com/sql/ ...@@ -437,6 +439,7 @@ http://www.w3schools.com/sql/
logMode = 1; logMode = 1;
cipher = null; cipher = null;
test(); test();
testUnit();
networked = true; networked = true;
memory = true; memory = true;
...@@ -591,7 +594,10 @@ http://www.w3schools.com/sql/ ...@@ -591,7 +594,10 @@ http://www.w3schools.com/sql/
new TestKillRestartMulti().runTest(this); new TestKillRestartMulti().runTest(this);
new TestMultiThreaded().runTest(this); new TestMultiThreaded().runTest(this);
// unit afterTest();
}
private void testUnit() {
new TestBitField().runTest(this); new TestBitField().runTest(this);
new TestCache().runTest(this); new TestCache().runTest(this);
new TestCompress().runTest(this); new TestCompress().runTest(this);
...@@ -623,8 +629,6 @@ http://www.w3schools.com/sql/ ...@@ -623,8 +629,6 @@ http://www.w3schools.com/sql/
new TestValue().runTest(this); new TestValue().runTest(this);
new TestValueHashMap().runTest(this); new TestValueHashMap().runTest(this);
new TestValueMemory().runTest(this); new TestValueMemory().runTest(this);
afterTest();
} }
private void runTest(String className) { private void runTest(String className) {
......
...@@ -426,8 +426,12 @@ public abstract class TestBase { ...@@ -426,8 +426,12 @@ public abstract class TestBase {
* @return the formatted time * @return the formatted time
*/ */
static String formatTime(long millis) { static String formatTime(long millis) {
return new java.sql.Time(java.sql.Time.valueOf("0:0:0").getTime() + millis).toString() String s = new java.sql.Time(java.sql.Time.valueOf("0:0:0").getTime() + millis).toString()
+ "." + ("" + (1000 + (millis % 1000))).substring(1); + "." + ("" + (1000 + (millis % 1000))).substring(1);
if (s.startsWith("00:")) {
s = s.substring(3);
}
return s;
} }
/** /**
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论