Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
e7b7c03b
Unverified
提交
e7b7c03b
authored
7月 18, 2018
作者:
Evgenij Ryazanov
提交者:
GitHub
7月 18, 2018
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #1304 from katzyn/docs
Update changelog and fix building of documentation
上级
bfc0a3cb
d7b83d15
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
11 个修改的文件
包含
151 行增加
和
30 行删除
+151
-30
changelog.html
h2/src/docsrc/html/changelog.html
+134
-0
roadmap.html
h2/src/docsrc/html/roadmap.html
+3
-18
Parser.java
h2/src/main/org/h2/command/Parser.java
+1
-1
Query.java
h2/src/main/org/h2/command/dml/Query.java
+1
-1
JdbcResultSet.java
h2/src/main/org/h2/jdbc/JdbcResultSet.java
+0
-2
MVMap.java
h2/src/main/org/h2/mvstore/MVMap.java
+2
-2
MVSortedTempResult.java
h2/src/main/org/h2/mvstore/db/MVSortedTempResult.java
+3
-3
MVTempResult.java
h2/src/main/org/h2/mvstore/db/MVTempResult.java
+1
-1
TestFunctions.java
h2/src/test/org/h2/test/db/TestFunctions.java
+2
-1
TestValue.java
h2/src/test/org/h2/test/unit/TestValue.java
+2
-1
dictionary.txt
h2/src/tools/org/h2/build/doc/dictionary.txt
+2
-0
没有找到文件。
h2/src/docsrc/html/changelog.html
浏览文件 @
e7b7c03b
...
@@ -21,6 +21,140 @@ Change Log
...
@@ -21,6 +21,140 @@ Change Log
<h2>
Next Version (unreleased)
</h2>
<h2>
Next Version (unreleased)
</h2>
<ul>
<ul>
<li>
PR #1302: Use OpenJDK instead of OracleJDK 10 in Travis builds due to Travis problem
</li>
<li>
Issue #1032: Error when executing "SELECT DISTINCT ON"
</li>
<li>
Issue #1295: ConditionInSelect violates requirements of LocalResult
</li>
<li>
PR #1296: Assorted minor changes
</li>
<li>
PR #1293: Move HELP and SHOW tests into own files
</li>
<li>
PR #1291: Fix update count for REPLACE and move some SQL tests into separate files
</li>
<li>
PR #1290: Do not load the whole LOBs into memory for comparison operation
</li>
<li>
Issue #408: DISTINCT does not properly work with ORDER BY on function like LOWER
</li>
<li>
PR #1286: Fix MVTempResult implementations for results with invisible columns
</li>
<li>
Issue #1284: Nanoseconds of timestamps from old H2 versions are not read properly
</li>
<li>
PR #1283: Clean up interaction between LocalResult and ResultExternal
</li>
<li>
Issue #1265: OOME is not handled properly in TraceObject.logAndConvert()
</li>
<li>
Issue #1061: Regression: Braces after WITH clause not allowed anymore
</li>
<li>
PR #1277: Assorted changes in Parser
</li>
<li>
PR #1276: Improve support of ARRAY and SQLXML in JDBC layer
</li>
<li>
PR #1275: Do not quote other lower case characters
</li>
<li>
PR #1274: Use token type in Parser instead of string comparisons
</li>
<li>
PR #1272: Reduce code duplication in Parser
</li>
<li>
PR #1271: Minor memory leak
</li>
<li>
PR #1270: drop TableView isPersistent field
</li>
<li>
PR #1269: Eliminate commit of empty batch in some tests
</li>
<li>
Issue #1266: Add INFORMATION_SCHEMA.COLUMNS.DATETIME_PRECISION
</li>
<li>
Issue #1261: How to discover stored enum types through INFORMATION_SCHEMA
</li>
<li>
Issue #1258: Failing to remove index when using schema.table
</li>
<li>
PR #1256: misc tiny refactorings
</li>
<li>
PR #1255: Minor changes in MERGE USING, DATE_TRUNC, and EXTRACT
</li>
<li>
Issue #1214: Internal compiler believes that "3 warnings" is an error
</li>
<li>
PR #1252: Assorted minor changes
</li>
<li>
PR #1251: Fix SQL representation of CAST for types with fractional seconds precision
</li>
<li>
PR #1250: Batch append mode for MVMap
</li>
<li>
PR #1248: StringIndexOutOfBoundsException due to undoLog map
</li>
<li>
PR #1246: Detect disabled tests
</li>
<li>
PR #1242: Add implementation of SQLXML interface
</li>
<li>
PR #1241: Various tweaks in attempting to fix TestDiskFull test
</li>
<li>
PR #1240: Optimise ValueLobDB comparison methods
</li>
<li>
PR #1239: Don't try to find tools.jar on Java 9+
</li>
<li>
PR #1238: remove unfinished android API
</li>
<li>
PR #1237: remove JaQu
</li>
<li>
PR #1236: remove STORE_LOCAL_TIME code
</li>
<li>
PR #1235: Do not use deprecated Class.newInstance()
</li>
<li>
PR #1234: Fix NPE in Parser.parseMergeUsing()
</li>
<li>
PR #1233: Simplify old lob ValueLob class
</li>
<li>
Issue 1227: lob growth in pagestore mode
</li>
<li>
PR #1230: clean up some javadoc and some throws clauses
</li>
<li>
PR #1229: Create UndoLog only when necessary and remove outdated code
</li>
<li>
PR #1228: Remove some PageStore+MVCC leftovers
</li>
<li>
PR #1226: Fix inconsistencies in checks for transaction isolation level
</li>
<li>
PR #1224: Enable Java 10 testing on Travis
</li>
<li>
PR #1223: Fix issues with testing on latest Java versions
</li>
<li>
PR #1222: Leftovers handling
</li>
<li>
Issue #1220: JDK-9 build fails due to usage of java.xml.bind in external authentication
</li>
<li>
PR #1218: Test utilities only once during TestAll
</li>
<li>
PR #1217: Postpone session.endStatement() until after commit
</li>
<li>
PR #1213: KillRestart fix
</li>
<li>
PR #1211: Assorted minor changes
</li>
<li>
Issue #1204: Always use MVCC with MVStore and never use it with PageStore
</li>
<li>
PR #1206: Forbid reconnects in non-regular modes in TestScript
</li>
<li>
PR #1205: Misc test fixes
</li>
<li>
Issue 1198: Enable MULTI_THREADED by default for MVStore mode
</li>
<li>
Issue #1195: Calling setBytes to set VARCHAR field fails
</li>
<li>
PR #1197: Fix or suppress errors in tests
</li>
<li>
PR #1194: TestKillRestartMulti: A map named undoLog-1 already exists
</li>
<li>
PR #1193: enable TestRandomSQL on non-memory databases
</li>
<li>
PR #1191: External authentication with datasource issue
</li>
<li>
PR #1188: Undo log split to reduce contention
</li>
<li>
PR #1186: TransactionMap::sizeAsLong() optimized - temp map eliminated
</li>
<li>
PR #1185: Improve naming of the object id field in Prepared
</li>
<li>
Issue #1196: Feature request for MS SQL Server Compatibility Mode
<li>
Issue #1196: Feature request for MS SQL Server Compatibility Mode
</li>
</li>
<li>
Issue #1177: Resource leak in Recover tool
<li>
Issue #1177: Resource leak in Recover tool
...
...
h2/src/docsrc/html/roadmap.html
浏览文件 @
e7b7c03b
差异被折叠。
点击展开。
h2/src/main/org/h2/command/Parser.java
浏览文件 @
e7b7c03b
...
@@ -5592,7 +5592,7 @@ public class Parser {
...
@@ -5592,7 +5592,7 @@ public class Parser {
* data and table if we don't have a working CTE already.
* data and table if we don't have a working CTE already.
*/
*/
Table
recursiveTable
=
TableView
.
createShadowTableForRecursiveTableExpression
(
Table
recursiveTable
=
TableView
.
createShadowTableForRecursiveTableExpression
(
isTemporary
,
session
,
cteViewName
,
schema
,
columns
,
database
);
isTemporary
,
session
,
cteViewName
,
schema
,
columns
,
database
);
List
<
Column
>
columnTemplateList
;
List
<
Column
>
columnTemplateList
;
String
[]
querySQLOutput
=
{
null
};
String
[]
querySQLOutput
=
{
null
};
try
{
try
{
...
...
h2/src/main/org/h2/command/dml/Query.java
浏览文件 @
e7b7c03b
...
@@ -270,7 +270,7 @@ public abstract class Query extends Prepared {
...
@@ -270,7 +270,7 @@ public abstract class Query extends Prepared {
/**
/**
* @return whether this query is a plain {@code DISTINCT} query
* @return whether this query is a plain {@code DISTINCT} query
*/
*/
public
boolean
isSta
r
dardDistinct
()
{
public
boolean
isSta
n
dardDistinct
()
{
return
distinct
;
return
distinct
;
}
}
...
...
h2/src/main/org/h2/jdbc/JdbcResultSet.java
浏览文件 @
e7b7c03b
...
@@ -2493,7 +2493,6 @@ public class JdbcResultSet extends TraceObject implements ResultSet, JdbcResultS
...
@@ -2493,7 +2493,6 @@ public class JdbcResultSet extends TraceObject implements ResultSet, JdbcResultS
*
*
* @param columnIndex (1,2,...)
* @param columnIndex (1,2,...)
* @param x the value
* @param x the value
* @param length the length
* @throws SQLException if the result set is closed or not updatable
* @throws SQLException if the result set is closed or not updatable
*/
*/
@Override
@Override
...
@@ -2520,7 +2519,6 @@ public class JdbcResultSet extends TraceObject implements ResultSet, JdbcResultS
...
@@ -2520,7 +2519,6 @@ public class JdbcResultSet extends TraceObject implements ResultSet, JdbcResultS
*
*
* @param columnLabel the column label
* @param columnLabel the column label
* @param x the value
* @param x the value
* @param length the length
* @throws SQLException if the result set is closed or not updatable
* @throws SQLException if the result set is closed or not updatable
*/
*/
@Override
@Override
...
...
h2/src/main/org/h2/mvstore/MVMap.java
浏览文件 @
e7b7c03b
...
@@ -94,7 +94,7 @@ public class MVMap<K, V> extends AbstractMap<K, V>
...
@@ -94,7 +94,7 @@ public class MVMap<K, V> extends AbstractMap<K, V>
@SuppressWarnings
(
"unchecked"
)
@SuppressWarnings
(
"unchecked"
)
private
MVMap
(
MVStore
store
,
DataType
keyType
,
DataType
valueType
,
int
id
,
long
createVersion
,
private
MVMap
(
MVStore
store
,
DataType
keyType
,
DataType
valueType
,
int
id
,
long
createVersion
,
AtomicReference
<
RootReference
>
root
,
int
keysPerPage
,
boolean
singleWriter
)
{
AtomicReference
<
RootReference
>
root
,
int
keysPerPage
,
boolean
singleWriter
)
{
this
.
store
=
store
;
this
.
store
=
store
;
this
.
id
=
id
;
this
.
id
=
id
;
this
.
createVersion
=
createVersion
;
this
.
createVersion
=
createVersion
;
...
@@ -1418,7 +1418,7 @@ public class MVMap<K, V> extends AbstractMap<K, V>
...
@@ -1418,7 +1418,7 @@ public class MVMap<K, V> extends AbstractMap<K, V>
this
.
appendCounter
=
0
;
this
.
appendCounter
=
0
;
}
}
// This one is used for append buffer maintance
// This one is used for append buffer maint
en
ance
RootReference
(
RootReference
r
,
int
appendCounter
,
int
attempt
)
{
RootReference
(
RootReference
r
,
int
appendCounter
,
int
attempt
)
{
this
.
root
=
r
.
root
;
this
.
root
=
r
.
root
;
this
.
version
=
r
.
version
;
this
.
version
=
r
.
version
;
...
...
h2/src/main/org/h2/mvstore/db/MVSortedTempResult.java
浏览文件 @
e7b7c03b
...
@@ -100,15 +100,15 @@ class MVSortedTempResult extends MVTempResult {
...
@@ -100,15 +100,15 @@ class MVSortedTempResult extends MVTempResult {
* @param distinct
* @param distinct
* whether this result should be distinct
* whether this result should be distinct
* @param distinctIndexes
* @param distinctIndexes
* indexes of distinct columns for DISINCT ON results
* indexes of distinct columns for DIS
T
INCT ON results
* @param visibleColumnCount
* @param visibleColumnCount
* count of visible columns
* count of visible columns
* @param sort
* @param sort
* sort order, or {@code null} if this result does not need any
* sort order, or {@code null} if this result does not need any
* sorting
* sorting
*/
*/
MVSortedTempResult
(
Database
database
,
Expression
[]
expressions
,
boolean
distinct
,
int
[]
distinctIndexes
,
int
visibleColumnCount
,
MVSortedTempResult
(
Database
database
,
Expression
[]
expressions
,
boolean
distinct
,
int
[]
distinctIndexes
,
SortOrder
sort
)
{
int
visibleColumnCount
,
SortOrder
sort
)
{
super
(
database
,
expressions
.
length
,
visibleColumnCount
);
super
(
database
,
expressions
.
length
,
visibleColumnCount
);
this
.
distinct
=
distinct
;
this
.
distinct
=
distinct
;
this
.
distinctIndexes
=
distinctIndexes
;
this
.
distinctIndexes
=
distinctIndexes
;
...
...
h2/src/main/org/h2/mvstore/db/MVTempResult.java
浏览文件 @
e7b7c03b
...
@@ -67,7 +67,7 @@ public abstract class MVTempResult implements ResultExternal {
...
@@ -67,7 +67,7 @@ public abstract class MVTempResult implements ResultExternal {
* @param distinct
* @param distinct
* is output distinct
* is output distinct
* @param distinctIndexes
* @param distinctIndexes
* indexes of distinct columns for DISINCT ON results
* indexes of distinct columns for DIS
T
INCT ON results
* @param visibleColumnCount
* @param visibleColumnCount
* count of visible columns
* count of visible columns
* @param sort
* @param sort
...
...
h2/src/test/org/h2/test/db/TestFunctions.java
浏览文件 @
e7b7c03b
...
@@ -1246,7 +1246,8 @@ public class TestFunctions extends TestDb implements AggregateFunction {
...
@@ -1246,7 +1246,8 @@ public class TestFunctions extends TestDb implements AggregateFunction {
Connection
conn
=
getConnection
(
"functions"
);
Connection
conn
=
getConnection
(
"functions"
);
Statement
stat
=
conn
.
createStatement
();
Statement
stat
=
conn
.
createStatement
();
stat
.
execute
(
"CREATE TABLE TEST(S VARCHAR, TS TIMESTAMP, D DATE, T TIME, TZ TIMESTAMP WITH TIME ZONE)"
);
stat
.
execute
(
"CREATE TABLE TEST(S VARCHAR, TS TIMESTAMP, D DATE, T TIME, TZ TIMESTAMP WITH TIME ZONE)"
);
stat
.
execute
(
"INSERT INTO TEST VALUES ('2010-01-01 10:11:12', '2010-01-01 10:11:12', '2010-01-01', '10:11:12', '2010-01-01 10:11:12Z')"
);
stat
.
execute
(
"INSERT INTO TEST VALUES ('2010-01-01 10:11:12', '2010-01-01 10:11:12',"
+
" '2010-01-01', '10:11:12', '2010-01-01 10:11:12Z')"
);
ResultSetMetaData
md
=
stat
.
executeQuery
(
"SELECT DATE_TRUNC('HOUR', S), DATE_TRUNC('HOUR', TS),"
ResultSetMetaData
md
=
stat
.
executeQuery
(
"SELECT DATE_TRUNC('HOUR', S), DATE_TRUNC('HOUR', TS),"
+
" DATE_TRUNC('HOUR', D), DATE_TRUNC('HOUR', T), DATE_TRUNC('HOUR', TZ) FROM TEST"
)
+
" DATE_TRUNC('HOUR', D), DATE_TRUNC('HOUR', T), DATE_TRUNC('HOUR', TZ) FROM TEST"
)
.
getMetaData
();
.
getMetaData
();
...
...
h2/src/test/org/h2/test/unit/TestValue.java
浏览文件 @
e7b7c03b
...
@@ -446,7 +446,8 @@ public class TestValue extends TestDb {
...
@@ -446,7 +446,8 @@ public class TestValue extends TestDb {
}
}
}
}
private
static
int
testLobComparisonImpl
(
DataHandler
dh
,
int
type
,
int
size1
,
int
size2
,
int
suffix1
,
int
suffix2
)
{
private
static
int
testLobComparisonImpl
(
DataHandler
dh
,
int
type
,
int
size1
,
int
size2
,
int
suffix1
,
int
suffix2
)
{
byte
[]
bytes1
=
new
byte
[
size1
];
byte
[]
bytes1
=
new
byte
[
size1
];
byte
[]
bytes2
=
new
byte
[
size2
];
byte
[]
bytes2
=
new
byte
[
size2
];
if
(
size1
>
0
)
{
if
(
size1
>
0
)
{
...
...
h2/src/tools/org/h2/build/doc/dictionary.txt
浏览文件 @
e7b7c03b
...
@@ -784,3 +784,5 @@ ewkt ewkb informations authzpwd realms mappers jaxb realmname configurationfile
...
@@ -784,3 +784,5 @@ ewkt ewkb informations authzpwd realms mappers jaxb realmname configurationfile
authenticators appname interrogate metatable barrier preliminary staticuser staticpassword unregistered inquiry
authenticators appname interrogate metatable barrier preliminary staticuser staticpassword unregistered inquiry
ldapexample remoteuser assignments djava validators mock relate mapid tighten
ldapexample remoteuser assignments djava validators mock relate mapid tighten
retried helpers unclean missed parsers sax myclass suppose mandatory testxml miao ciao
retried helpers unclean missed parsers sax myclass suppose mandatory testxml miao ciao
emptied titlecase ask snk dom xif transformer dbf stx stax xof descriptors
inconsistencies discover eliminated violates tweaks postpone leftovers
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论