Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
7314a0f7
提交
7314a0f7
authored
1月 17, 2014
作者:
noelgrandin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix spelling
上级
64046b5d
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
4 行增加
和
4 行删除
+4
-4
mvstore.html
h2/src/docsrc/html/mvstore.html
+2
-2
TransactionStore.java
h2/src/main/org/h2/mvstore/db/TransactionStore.java
+2
-2
没有找到文件。
h2/src/docsrc/html/mvstore.html
浏览文件 @
7314a0f7
...
@@ -468,7 +468,7 @@ This is work in progress. To try it out, append
...
@@ -468,7 +468,7 @@ This is work in progress. To try it out, append
<code>
;MV_STORE=TRUE
</code>
<code>
;MV_STORE=TRUE
</code>
to the database URL. In general, performance should be
to the database URL. In general, performance should be
similar than the current default storage engine (the page store).
similar than the current default storage engine (the page store).
Even though
t
it can be used with the default table level locking,
Even though it can be used with the default table level locking,
it is recommended to use it together with the MVCC mode
it is recommended to use it together with the MVCC mode
(to do that, append
<code>
;MVCC=TRUE
</code>
to the database URL).
(to do that, append
<code>
;MVCC=TRUE
</code>
to the database URL).
</p>
</p>
...
@@ -498,7 +498,7 @@ The MVStore does not have a record size limit.
...
@@ -498,7 +498,7 @@ The MVStore does not have a record size limit.
<p>
<p>
The code is still experimental at this stage.
The code is still experimental at this stage.
The API as well as the behavior may partially change.
The API as well as the behavior may partially change.
Features may be added and removed (even though
t
the main features will stay).
Features may be added and removed (even though the main features will stay).
</p>
</p>
<h2
id=
"requirements"
>
Requirements
</h2>
<h2
id=
"requirements"
>
Requirements
</h2>
...
...
h2/src/main/org/h2/mvstore/db/TransactionStore.java
浏览文件 @
7314a0f7
...
@@ -1067,8 +1067,8 @@ public class TransactionStore {
...
@@ -1067,8 +1067,8 @@ public class TransactionStore {
// added or updated by this transaction
// added or updated by this transaction
transaction
.
log
(
mapId
,
key
,
current
);
transaction
.
log
(
mapId
,
key
,
current
);
if
(!
map
.
replace
(
key
,
current
,
newValue
))
{
if
(!
map
.
replace
(
key
,
current
,
newValue
))
{
// strange, somebody overwr
i
te the value
// strange, somebody overwr
o
te the value
// even though
t
the change was not committed
// even though the change was not committed
transaction
.
logUndo
();
transaction
.
logUndo
();
return
false
;
return
false
;
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论