Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
b5c1a8e3
提交
b5c1a8e3
authored
2月 26, 2010
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Prepare release.
上级
a48f2916
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
23 行增加
和
56 行删除
+23
-56
changelog.html
h2/src/docsrc/html/changelog.html
+6
-21
roadmap.html
h2/src/docsrc/html/roadmap.html
+1
-0
Constants.java
h2/src/main/org/h2/engine/Constants.java
+2
-2
PageLog.java
h2/src/main/org/h2/store/PageLog.java
+1
-1
newsfeed.sql
h2/src/test/org/h2/samples/newsfeed.sql
+13
-32
没有找到文件。
h2/src/docsrc/html/changelog.html
浏览文件 @
b5c1a8e3
...
@@ -18,6 +18,10 @@ Change Log
...
@@ -18,6 +18,10 @@ Change Log
<h1>
Change Log
</h1>
<h1>
Change Log
</h1>
<h2>
Next Version (unreleased)
</h2>
<h2>
Next Version (unreleased)
</h2>
<ul><li>
-
</li></ul>
<h2>
Version 1.2.130 (2010-02-26)
</h2>
<ul><li>
EXPLAIN: The query plan now contains ".tableScan" if a table scan is used.
<ul><li>
EXPLAIN: The query plan now contains ".tableScan" if a table scan is used.
</li><li>
IN(..): when combining and IN(..) condition with a condition that didn't use an index,
</li><li>
IN(..): when combining and IN(..) condition with a condition that didn't use an index,
the result could contain duplicate rows.
the result could contain duplicate rows.
...
@@ -29,9 +33,9 @@ Change Log
...
@@ -29,9 +33,9 @@ Change Log
</li><li>
A tool to migrate an old database from the non-page store format to the
</li><li>
A tool to migrate an old database from the non-page store format to the
newest version has been added in src/tools/org/h2/dev/util/Migrate.java. This file is not
newest version has been added in src/tools/org/h2/dev/util/Migrate.java. This file is not
included in the jar file currently.
included in the jar file currently.
</li><li>
When using temporary table, the database didn't shrink sometimes when closing.
</li><li>
When using temporary table
s
, the database didn't shrink sometimes when closing.
Also, sometimes a database could not recover normally.
Also, sometimes a database could not recover normally.
</li><li>
Large transactions could run out of heap space.
Fixed
.
</li><li>
Large transactions could run out of heap space.
The maximum size of a transaction is now much larger
.
</li><li>
The default setting for the system property h2.webMaxValueLength is now 100000 (it was 10000 before).
</li><li>
The default setting for the system property h2.webMaxValueLength is now 100000 (it was 10000 before).
</li><li>
Creating a database was delayed about 2 seconds if the directory didn't exist.
</li><li>
Creating a database was delayed about 2 seconds if the directory didn't exist.
</li><li>
Implemented INIT feature. If the database URL contains ";INIT=...;" then the DDL or DML commands
</li><li>
Implemented INIT feature. If the database URL contains ";INIT=...;" then the DDL or DML commands
...
@@ -614,24 +618,5 @@ Change Log
...
@@ -614,24 +618,5 @@ Change Log
</li><li>
NIO storage: the nio: prefix was using memory mapped files instead of FileChannel.
</li><li>
NIO storage: the nio: prefix was using memory mapped files instead of FileChannel.
</li></ul>
</li></ul>
<h2>
Version 1.1.109 (2009-03-14)
</h2>
<ul><li>
The optimization for IN(...) is now only used if comparing a column with an index.
</li><li>
User defined functions can now be deterministic (see CREATE ALIAS documentation).
</li><li>
Multiple nested queries in the FROM clause with parameters did not always work.
</li><li>
When converting CLOB to BINARY, each character resulted in one byte.
Now, the text is parsed as a hex as when converting VARCHAR.
</li><li>
New experimental NIO storage mechanism with both FileChannel and
memory mapped files. To use it, use the file name prefix nio: or nioMapped:
as in jdbc:h2:nio:~/test. So far it looks like NIO storage is faster on Mac OS
but slower on some Windows systems. Thanks a lot to Jan Kotek for the patch!
</li><li>
The functions BITOR, BITAND, BITXOR, and MOD now accept
and return BIGINT instead of INT.
</li><li>
Could not use the same linked table multiple times in the same query.
</li><li>
Bugs in the server-less multi-connection mode have been fixed.
</li><li>
Column names could not be named "UNIQUE" (with the quotes).
</li><li>
New system function TRANSACTION_ID() to get the current transaction
identifier for a session.
</li></ul>
<!-- [close] { -->
</div></td></tr></table>
<!-- } --><!-- analytics -->
</body></html>
<!-- [close] { -->
</div></td></tr></table>
<!-- } --><!-- analytics -->
</body></html>
h2/src/docsrc/html/roadmap.html
浏览文件 @
b5c1a8e3
...
@@ -473,6 +473,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
...
@@ -473,6 +473,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
</li><li>
Use the Java service provider mechanism to register file systems and function libraries.
</li><li>
Use the Java service provider mechanism to register file systems and function libraries.
</li><li>
Tree index: Instead of an AVL tree, use a general balanced trees or a scapegoat tree.
</li><li>
Tree index: Instead of an AVL tree, use a general balanced trees or a scapegoat tree.
</li><li>
User defined functions: allow to store the bytecode (of just the class, or the jar file of the extension) in the database.
</li><li>
User defined functions: allow to store the bytecode (of just the class, or the jar file of the extension) in the database.
</li><li>
Compatibility: ResultSet.getObject() on a CLOB (TEXT) should return String for PostgreSQL and MySQL.
</li></ul>
</li></ul>
<h2>
Not Planned
</h2>
<h2>
Not Planned
</h2>
...
...
h2/src/main/org/h2/engine/Constants.java
浏览文件 @
b5c1a8e3
...
@@ -14,7 +14,7 @@ public class Constants {
...
@@ -14,7 +14,7 @@ public class Constants {
/**
/**
* The build id is incremented for each public release.
* The build id is incremented for each public release.
*/
*/
public
static
final
int
BUILD_ID
=
1
29
;
public
static
final
int
BUILD_ID
=
1
30
;
/**
/**
* The build id of the last stable release.
* The build id of the last stable release.
...
@@ -32,7 +32,7 @@ public class Constants {
...
@@ -32,7 +32,7 @@ public class Constants {
/**
/**
* The build date is updated for each public release.
* The build date is updated for each public release.
*/
*/
public
static
final
String
BUILD_DATE
=
"2010-02-
19
"
;
public
static
final
String
BUILD_DATE
=
"2010-02-
26
"
;
/**
/**
* The build date is updated for each public release.
* The build date is updated for each public release.
...
...
h2/src/main/org/h2/store/PageLog.java
浏览文件 @
b5c1a8e3
...
@@ -684,7 +684,7 @@ public class PageLog {
...
@@ -684,7 +684,7 @@ public class PageLog {
* @return the trunk page of the data page to keep
* @return the trunk page of the data page to keep
*/
*/
private
int
removeUntil
(
int
trunkPage
,
int
firstDataPageToKeep
)
{
private
int
removeUntil
(
int
trunkPage
,
int
firstDataPageToKeep
)
{
trace
.
debug
(
"log.removeUntil "
+
firstDataPageToKeep
);
trace
.
debug
(
"log.removeUntil "
+
trunkPage
+
" "
+
firstDataPageToKeep
);
while
(
true
)
{
while
(
true
)
{
Page
p
=
store
.
getPage
(
trunkPage
);
Page
p
=
store
.
getPage
(
trunkPage
);
PageStreamTrunk
t
=
(
PageStreamTrunk
)
p
;
PageStreamTrunk
t
=
(
PageStreamTrunk
)
p
;
...
...
h2/src/test/org/h2/samples/newsfeed.sql
浏览文件 @
b5c1a8e3
...
@@ -13,6 +13,19 @@ INSERT INTO CHANNEL VALUES('H2 Database Engine' ,
...
@@ -13,6 +13,19 @@ INSERT INTO CHANNEL VALUES('H2 Database Engine' ,
CREATE
TABLE
ITEM
(
ID
INT
PRIMARY
KEY
,
TITLE
VARCHAR
,
ISSUED
TIMESTAMP
,
DESC
VARCHAR
);
CREATE
TABLE
ITEM
(
ID
INT
PRIMARY
KEY
,
TITLE
VARCHAR
,
ISSUED
TIMESTAMP
,
DESC
VARCHAR
);
INSERT
INTO
ITEM
VALUES
(
80
,
'New version available: 1.2.130 (2010-02-26)'
,
'2010-02-26 12:00:00'
,
$$
A
new
version
of
H2
is
available
for
<
a
href
=
"http://www.h2database.com"
>
download
</
a
>
.
(
You
may
have
to
click
'Refresh'
).
<
br
/>
For
details
,
see
the
<
a
href
=
"http://www.h2database.com/html/changelog.html"
>
change
log
</
a
>
.
<
br
/>
For
future
plans
,
see
the
<
a
href
=
"http://www.h2database.com/html/roadmap.html"
>
roadmap
</
a
>
.
$$
);
INSERT
INTO
ITEM
VALUES
(
79
,
INSERT
INTO
ITEM
VALUES
(
79
,
'New version available: 1.2.129 (2010-02-19)'
,
'2010-02-19 12:00:00'
,
'New version available: 1.2.129 (2010-02-19)'
,
'2010-02-19 12:00:00'
,
$$
A
new
version
of
H2
is
available
for
$$
A
new
version
of
H2
is
available
for
...
@@ -241,38 +254,6 @@ For future plans, see the 'Roadmap' page at
...
@@ -241,38 +254,6 @@ For future plans, see the 'Roadmap' page at
http://www.h2database.com/html/roadmap.html
http://www.h2database.com/html/roadmap.html
$$);
$$);
INSERT INTO ITEM VALUES(67,
'
New
version
available
:
1
.
1
.
117
(
2009
-
08
-
09
)
', '
2009
-
08
-
09
12
:
00
:
00
',
$$A new version of H2 is available for <a href="http://www.h2database.com">download</a>.
(You may have to click '
Refresh
').
<br />
<b>Changes and new functionality:</b>
<ul><li>CSV reading and parsing SQL scripts is now faster.
</li><li>Support for Java 6 DatabaseMetaData.getTables, getColumns.
</li><li>JaQu: the order of the fields no longer needs to match.
</li><li>Improved MySQL compatibility for SHOW COLUMNS.
</li><li>Improved PostgreSQL compatibility for timestamp literals.
</li><li>Sam Van Oort is now a committer.
</li><li>LIKE: the escape mechanism can now be disable using ESCAPE
''
.
</li><li>Sergi Vladykin translated the error messages to Russian. Thanks a lot!
</li><li>The function LENGTH now return BIGINT.
</li><li>CLOB and BLOB: the maximum precision is now Long.MAX_VALUE.
</li><li>MVCC: the complete undo log must fit in memory.
</li></ul>
<b>Bugfixes:</b>
<ul><li>SimpleResultSet.newInstance(SimpleRowSource rs) did not work.
</li><li>Views using functions were not re-evaluated when necessary.
</li><li>Rollback of a large transaction could fail.
</li><li>Various bugfixes and improvements in the page store mechanism.
</li><li>Multi-threaded kernel synchronization bugs fixed.
</li></ul>
For details, see the '
Change
Log
' at
http://www.h2database.com/html/changelog.html
<br />
For future plans, see the '
Roadmap
' page at
http://www.h2database.com/html/roadmap.html
$$);
SELECT '
newsfeed
-
rss
.
xml
' FILE,
SELECT '
newsfeed
-
rss
.
xml
' FILE,
XMLSTARTDOC() ||
XMLSTARTDOC() ||
XMLNODE('
rss
', XMLATTR('
version
', '
2
.
0
'),
XMLNODE('
rss
', XMLATTR('
version
', '
2
.
0
'),
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论