Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
79d36f3e
提交
79d36f3e
authored
17 年前
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
--no commit message
--no commit message
上级
9b9e3f1e
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
8 行增加
和
23 行删除
+8
-23
history.html
h2/src/docsrc/html/history.html
+5
-2
Constants.java
h2/src/main/org/h2/engine/Constants.java
+2
-2
DiskFile.java
h2/src/main/org/h2/store/DiskFile.java
+1
-19
没有找到文件。
h2/src/docsrc/html/history.html
浏览文件 @
79d36f3e
...
@@ -39,8 +39,11 @@ Hypersonic SQL or HSQLDB. H2 is built from scratch.
...
@@ -39,8 +39,11 @@ Hypersonic SQL or HSQLDB. H2 is built from scratch.
<h3>
Version 1.0 (Current)
</h3>
<h3>
Version 1.0 (Current)
</h3>
<h3>
Version 1.0.59 (2007-09-TODO)
</h3><ul>
<h3>
Version 1.0.59 (2007-10-03)
</h3><ul>
<li>
Multi-threaded kernel (MULTI_THREADED=1): A synchronization problem has been fixed.
<li>
When the data type was unknown in a subquery, sometimes the wrong exception (ArrayIndexOutOfBounds) was thrown. Fixed.
</li><li>
If the process was killed while the database was running, sometimes the database could not be opened
('double allocation') except when the system property h2.check was set to false. Fixed.
</li><li>
Multi-threaded kernel (MULTI_THREADED=1): A synchronization problem has been fixed.
</li><li>
A PreparedStatement that was cancelled could not be reused. Fixed.
</li><li>
A PreparedStatement that was cancelled could not be reused. Fixed.
</li><li>
H2 Console: Progress information when logging into a H2 embedded database (useful when opening a database is slow).
</li><li>
H2 Console: Progress information when logging into a H2 embedded database (useful when opening a database is slow).
</li><li>
When the database was closed while logging was disabled (LOG 0), re-opening the database was slow. Fixed.
</li><li>
When the database was closed while logging was disabled (LOG 0), re-opening the database was slow. Fixed.
...
...
This diff is collapsed.
Click to expand it.
h2/src/main/org/h2/engine/Constants.java
浏览文件 @
79d36f3e
...
@@ -70,8 +70,8 @@ import org.h2.constant.SysProperties;
...
@@ -70,8 +70,8 @@ import org.h2.constant.SysProperties;
*/
*/
public
class
Constants
{
public
class
Constants
{
public
static
final
int
BUILD_ID
=
5
8
;
public
static
final
int
BUILD_ID
=
5
9
;
private
static
final
String
BUILD
=
"2007-
09-15
"
;
private
static
final
String
BUILD
=
"2007-
10-03
"
;
public
static
final
int
VERSION_MAJOR
=
1
;
public
static
final
int
VERSION_MAJOR
=
1
;
public
static
final
int
VERSION_MINOR
=
0
;
public
static
final
int
VERSION_MINOR
=
0
;
...
...
This diff is collapsed.
Click to expand it.
h2/src/main/org/h2/store/DiskFile.java
浏览文件 @
79d36f3e
...
@@ -859,24 +859,6 @@ public class DiskFile implements CacheWriter {
...
@@ -859,24 +859,6 @@ public class DiskFile implements CacheWriter {
return
comp
;
return
comp
;
}
}
});
});
// RedoLogRecord last = null;
// for (int i = 0; i < redoBuffer.size(); i++) {
// RedoLogRecord entry = (RedoLogRecord) redoBuffer.get(i);
// if (entry.data != null) {
// continue;
// }
// if (last != null && entry.recordId != last.recordId) {
// writeRedoLog(last);
// }
// last = entry;
// }
// if (last != null) {
// writeRedoLog(last);
// }
int
test
;
// first write all deleted entries
// first write all deleted entries
RedoLogRecord
last
=
null
;
RedoLogRecord
last
=
null
;
for
(
int
i
=
0
;
i
<
redoBuffer
.
size
();
i
++)
{
for
(
int
i
=
0
;
i
<
redoBuffer
.
size
();
i
++)
{
...
@@ -892,7 +874,7 @@ int test;
...
@@ -892,7 +874,7 @@ int test;
if
(
last
!=
null
)
{
if
(
last
!=
null
)
{
writeRedoLog
(
last
);
writeRedoLog
(
last
);
}
}
// now write the last entry, skipping
the
deleted entries
// now write the last entry, skipping deleted entries
last
=
null
;
last
=
null
;
for
(
int
i
=
0
;
i
<
redoBuffer
.
size
();
i
++)
{
for
(
int
i
=
0
;
i
<
redoBuffer
.
size
();
i
++)
{
RedoLogRecord
entry
=
(
RedoLogRecord
)
redoBuffer
.
get
(
i
);
RedoLogRecord
entry
=
(
RedoLogRecord
)
redoBuffer
.
get
(
i
);
...
...
This diff is collapsed.
Click to expand it.
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论