Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
07885cd7
提交
07885cd7
authored
10月 08, 2018
作者:
Evgenij Ryazanov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update changelog and fix building of documentation
上级
76125978
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
31 行增加
和
24 行删除
+31
-24
changelog.html
h2/src/docsrc/html/changelog.html
+5
-1
FunctionCursorResultSet.java
h2/src/main/org/h2/index/FunctionCursorResultSet.java
+2
-1
MVTable.java
h2/src/main/org/h2/mvstore/db/MVTable.java
+3
-2
Data.java
h2/src/main/org/h2/store/Data.java
+20
-20
dictionary.txt
h2/src/tools/org/h2/build/doc/dictionary.txt
+1
-0
没有找到文件。
h2/src/docsrc/html/changelog.html
浏览文件 @
07885cd7
...
...
@@ -21,7 +21,11 @@ Change Log
<h2>
Next Version (unreleased)
</h2>
<ul>
<li>
Issue #1499: TestScript::envelope.sql failure in “big” mode
<li>
Issue #1507: Add INFORMATION_SCHEMA.COLUMNS.COLUMN_TYPE qualification for domains
</li>
<li>
Issue #1499: TestScript::envelope.sql failure in
“
big
”
mode
</li>
<li>
Issue #1498: NPE in SimpleResultSet.getColumnCount()
</li>
<li>
Issue #1495: MERGE statement doesn't affect any rows when Oracle UPDATE .. WHERE .. DELETE .. WHERE is used
</li>
...
...
h2/src/main/org/h2/index/FunctionCursorResultSet.java
浏览文件 @
07885cd7
...
...
@@ -17,7 +17,8 @@ public class FunctionCursorResultSet extends AbstractFunctionCursor {
private
final
ResultInterface
result
;
FunctionCursorResultSet
(
FunctionIndex
index
,
SearchRow
first
,
SearchRow
last
,
Session
session
,
ResultInterface
result
)
{
FunctionCursorResultSet
(
FunctionIndex
index
,
SearchRow
first
,
SearchRow
last
,
Session
session
,
ResultInterface
result
)
{
super
(
index
,
first
,
last
,
session
);
this
.
result
=
result
;
}
...
...
h2/src/main/org/h2/mvstore/db/MVTable.java
浏览文件 @
07885cd7
...
...
@@ -903,8 +903,9 @@ public class MVTable extends TableBase {
// Field lastModificationId can not be just a volatile, because window of opportunity
// between reading database's modification id and storing this value in the field
// could be exploited by another thread.
// Second thread may do the same with possibly bigger (already advanced) modification id,
// and when first thread finally updates the field, it will result in lastModificationId jumping back.
// Second thread may do the same with possibly bigger (already advanced)
// modification id, and when first thread finally updates the field, it will
// result in lastModificationId jumping back.
// This is, of course, unacceptable.
private
void
syncLastModificationIdWithDatabase
()
{
long
nextModificationDataId
=
database
.
getNextModificationDataId
();
...
...
h2/src/main/org/h2/store/Data.java
浏览文件 @
07885cd7
...
...
@@ -1092,26 +1092,26 @@ public class Data {
}
case
Value
.
RESULT_SET
:
{
int
len
=
1
;
ResultInterface
result
=
((
ValueResultSet
)
v
).
getResult
();
int
columnCount
=
result
.
getVisibleColumnCount
();
len
+=
getVarIntLen
(
columnCount
);
for
(
int
i
=
0
;
i
<
columnCount
;
i
++)
{
len
+=
getStringLen
(
result
.
getAlias
(
i
));
len
+=
getStringLen
(
result
.
getColumnName
(
i
));
len
+=
getVarIntLen
(
result
.
getColumnType
(
i
));
len
+=
getVarLongLen
(
result
.
getColumnPrecision
(
i
));
len
+=
getVarIntLen
(
result
.
getColumnScale
(
i
));
len
+=
getVarIntLen
(
result
.
getDisplaySize
(
i
));
}
while
(
result
.
next
())
{
len
++;
Value
[]
row
=
result
.
currentRow
();
for
(
int
i
=
0
;
i
<
columnCount
;
i
++)
{
Value
val
=
row
[
i
];
len
+=
getValueLen
(
val
,
handler
);
}
}
len
++;
ResultInterface
result
=
((
ValueResultSet
)
v
).
getResult
();
int
columnCount
=
result
.
getVisibleColumnCount
();
len
+=
getVarIntLen
(
columnCount
);
for
(
int
i
=
0
;
i
<
columnCount
;
i
++)
{
len
+=
getStringLen
(
result
.
getAlias
(
i
));
len
+=
getStringLen
(
result
.
getColumnName
(
i
));
len
+=
getVarIntLen
(
result
.
getColumnType
(
i
));
len
+=
getVarLongLen
(
result
.
getColumnPrecision
(
i
));
len
+=
getVarIntLen
(
result
.
getColumnScale
(
i
));
len
+=
getVarIntLen
(
result
.
getDisplaySize
(
i
));
}
while
(
result
.
next
())
{
len
++;
Value
[]
row
=
result
.
currentRow
();
for
(
int
i
=
0
;
i
<
columnCount
;
i
++)
{
Value
val
=
row
[
i
];
len
+=
getValueLen
(
val
,
handler
);
}
}
len
++;
return
len
;
}
case
Value
.
INTERVAL_YEAR
:
...
...
h2/src/tools/org/h2/build/doc/dictionary.txt
浏览文件 @
07885cd7
...
...
@@ -800,3 +800,4 @@ ranks rno dro rko precede cume reopens preceding unbounded rightly itr lag maxim
partitioned tri partitions
discard enhancements nolock surefire logarithm
qualification opportunity jumping exploited unacceptable vrs
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论