Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
6097f4d0
提交
6097f4d0
authored
6月 06, 2014
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Documentation
上级
2079431b
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
13 行增加
和
8 行删除
+13
-8
changelog.html
h2/src/docsrc/html/changelog.html
+6
-1
roadmap.html
h2/src/docsrc/html/roadmap.html
+1
-0
MVMap.java
h2/src/main/org/h2/mvstore/MVMap.java
+1
-2
MVStore.java
h2/src/main/org/h2/mvstore/MVStore.java
+3
-3
TestAll.java
h2/src/test/org/h2/test/TestAll.java
+2
-2
没有找到文件。
h2/src/docsrc/html/changelog.html
浏览文件 @
6097f4d0
...
...
@@ -18,7 +18,12 @@ Change Log
<h1>
Change Log
</h1>
<h2>
Next Version (unreleased)
</h2>
<ul><li>
MVStore: descending indexes with "nulls first" did not work as expected
<ul><li>
There was a way to prevent a database from being re-opened,
by creating a column constraint that references a table with a higher id.
This is now detected, and creating the table is prohibited.
In future versions of H2, most likely creating references to other
tables will no longer be supported because of such problems.
</li><li>
MVStore: descending indexes with "nulls first" did not work as expected
(null was ordered last).
</li><li>
Large result sets now always create temporary tables instead of temporary files.
</li><li>
When using the PageStore, opening a database failed in some cases with a NullPointerException
...
...
h2/src/docsrc/html/roadmap.html
浏览文件 @
6097f4d0
...
...
@@ -26,6 +26,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
<ul><li>
Replace file password hash with file encryption key; validate encryption key when connecting.
</li><li>
Remove "set binary collation" feature.
</li><li>
Remove the encryption algorithm XTEA.
</li><li>
Disallow referencing other tables in a table (via constraints for example).
</li></ul>
<h2>
Version 1.4.x: Planned Changes
</h2>
...
...
h2/src/main/org/h2/mvstore/MVMap.java
浏览文件 @
6097f4d0
...
...
@@ -782,7 +782,7 @@ public class MVMap<K, V> extends AbstractMap<K, V>
rewrite
(
root
,
set
);
}
p
ublic
int
rewrite
(
Page
p
,
Set
<
Integer
>
set
)
{
p
rivate
int
rewrite
(
Page
p
,
Set
<
Integer
>
set
)
{
;
// TODO write more tests
if
(
p
.
isLeaf
())
{
long
pos
=
p
.
getPos
();
...
...
@@ -838,7 +838,6 @@ public class MVMap<K, V> extends AbstractMap<K, V>
return
writtenPageCount
;
}
/**
* Get a cursor to iterate over a number of keys and values.
*
...
...
h2/src/main/org/h2/mvstore/MVStore.java
浏览文件 @
6097f4d0
...
...
@@ -43,9 +43,9 @@ TransactionStore:
if there is only one connection
MVStore:
- data kept in stream store if transaction is not committed?
- automated 'kill process' and 'power failure' test
- test and possibly improve compact operation (for large dbs)
- is data kept in the stream store if the transaction is not committed?
- automated 'kill process' and 'power failure' test
- compact: avoid processing pages using a counting bloom filter
- defragment (re-creating maps, specially those with small pages)
- store number of write operations per page (maybe defragment
...
...
@@ -65,11 +65,11 @@ MVStore:
- remove features that are not really needed; simplify the code
possibly using a separate layer or tools
(retainVersion?)
- rename "store" to "save", as "store" is used in "storeVersion"
- MVStoreTool.dump should dump the data if possible;
possibly using a callback for serialization
- optional pluggable checksum mechanism (per page), which
requires that everything is a page (including headers)
- rename "store" to "save", as "store" is used in "storeVersion"
- rename setStoreVersion to setDataVersion, setSchemaVersion or similar
- temporary file storage
- simple rollback method (rollback to last committed version)
...
...
h2/src/test/org/h2/test/TestAll.java
浏览文件 @
6097f4d0
...
...
@@ -384,7 +384,7 @@ java org.h2.test.TestAll timer
printSystemInfo
();
// use lower values, to better test those cases,
// and
to speed up the tests (for delays)
// and
(for delays) to speed up the tests
System
.
setProperty
(
"h2.maxMemoryRows"
,
"100"
);
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论