Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
1a6ac3c0
提交
1a6ac3c0
authored
16 年前
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
--no commit message
--no commit message
上级
5270438e
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
17 行增加
和
5 行删除
+17
-5
changelog.html
h2/src/docsrc/html/changelog.html
+5
-1
TestAll.java
h2/src/test/org/h2/test/TestAll.java
+7
-3
TestBase.java
h2/src/test/org/h2/test/TestBase.java
+5
-1
没有找到文件。
h2/src/docsrc/html/changelog.html
浏览文件 @
1a6ac3c0
...
...
@@ -18,7 +18,11 @@ Change Log
<h1>
Change Log
</h1>
<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>
<h2>
Version 1.1.106 (2009-01-04)
</h2>
...
...
This diff is collapsed.
Click to expand it.
h2/src/test/org/h2/test/TestAll.java
浏览文件 @
1a6ac3c0
...
...
@@ -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;
option to cache the results
<link rel="icon" type="image/png" href="/path/image.png">
...
...
@@ -437,6 +439,7 @@ http://www.w3schools.com/sql/
logMode
=
1
;
cipher
=
null
;
test
();
testUnit
();
networked
=
true
;
memory
=
true
;
...
...
@@ -591,7 +594,10 @@ http://www.w3schools.com/sql/
new
TestKillRestartMulti
().
runTest
(
this
);
new
TestMultiThreaded
().
runTest
(
this
);
// unit
afterTest
();
}
private
void
testUnit
()
{
new
TestBitField
().
runTest
(
this
);
new
TestCache
().
runTest
(
this
);
new
TestCompress
().
runTest
(
this
);
...
...
@@ -623,8 +629,6 @@ http://www.w3schools.com/sql/
new
TestValue
().
runTest
(
this
);
new
TestValueHashMap
().
runTest
(
this
);
new
TestValueMemory
().
runTest
(
this
);
afterTest
();
}
private
void
runTest
(
String
className
)
{
...
...
This diff is collapsed.
Click to expand it.
h2/src/test/org/h2/test/TestBase.java
浏览文件 @
1a6ac3c0
...
...
@@ -426,8 +426,12 @@ public abstract class TestBase {
* @return the formatted time
*/
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
);
if
(
s
.
startsWith
(
"00:"
))
{
s
=
s
.
substring
(
3
);
}
return
s
;
}
/**
...
...
This diff is collapsed.
Click to expand it.
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论