Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
327c1051
提交
327c1051
authored
2月 19, 2010
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Prepare release.
上级
12f42486
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
1064 行增加
和
1305 行删除
+1064
-1305
changelog.html
h2/src/docsrc/html/changelog.html
+7
-47
_docs_en.utf8.txt
h2/src/docsrc/text/_docs_en.utf8.txt
+347
-425
_docs_ja.utf8.txt
h2/src/docsrc/text/_docs_ja.utf8.txt
+347
-425
_docs_en.properties
h2/src/docsrc/textbase/_docs_en.properties
+347
-373
Constants.java
h2/src/main/org/h2/engine/Constants.java
+2
-2
newsfeed.sql
h2/src/test/org/h2/samples/newsfeed.sql
+14
-33
没有找到文件。
h2/src/docsrc/html/changelog.html
浏览文件 @
327c1051
...
@@ -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.128 (2010-01-30)
</h2>
<ul><li>
CREATE ALIAS: error message when compiling Java code have been improved.
<ul><li>
CREATE ALIAS: error message when compiling Java code have been improved.
</li><li>
MVCC: creating a table with an incorrect constraint could cause strange errors.
</li><li>
MVCC: creating a table with an incorrect constraint could cause strange errors.
</li><li>
Hash indexes now are only used for single column indexes.
</li><li>
Hash indexes now are only used for single column indexes.
...
@@ -45,14 +49,9 @@ Change Log
...
@@ -45,14 +49,9 @@ Change Log
</li><li>
The database URL option ACCESS_MODE_LOG is no longer supported.
</li><li>
The database URL option ACCESS_MODE_LOG is no longer supported.
</li><li>
The database URL option RECOVER has currently no effect.
</li><li>
The database URL option RECOVER has currently no effect.
</li><li>
Converting an old (non-page store) database is no longer supported using this version.
</li><li>
Converting an old (non-page store) database is no longer supported using this version.
</li><li>
The system property "h2.overflowExceptions" is no longer supported.
</li><li>
The following system properties are no longer supported:
</li><li>
The system property "h2.optimizeDropDependencies" is no longer supported.
h2.overflowExceptions, h2.optimizeDropDependencies, h2.optimizeGroupSorted,
</li><li>
The system property "h2.optimizeGroupSorted" is no longer supported.
h2.optimizeMinMax, h2.optimizeNot, h2.optimizeIn, h2.optimizeInJoin, h2.reuseSpace*.
</li><li>
The system property "h2.optimizeMinMax" is no longer supported.
</li><li>
The system property "h2.optimizeNot" is no longer supported.
</li><li>
The system property "h2.optimizeIn" is no longer supported.
</li><li>
The system property "h2.optimizeInJoin" is no longer supported.
</li><li>
The system properties "h2.reuseSpace..." are no longer supported.
</li><li>
The setting LOG has currently no effect.
</li><li>
The setting LOG has currently no effect.
</li><li>
Disabling the page store is no longer supported. The old storage mechanism
</li><li>
Disabling the page store is no longer supported. The old storage mechanism
has been removed, shrinking the jar file size by about 5%. Older databases can still be opened
has been removed, shrinking the jar file size by about 5%. Older databases can still be opened
...
@@ -611,44 +610,5 @@ Change Log
...
@@ -611,44 +610,5 @@ Change Log
identifier for a session.
identifier for a session.
</li></ul>
</li></ul>
<h2>
Version 1.1.108 (2009-02-28)
</h2>
<ul><li>
When the shutdown hook closed the database, the last log file
was deleted too early. This could cause uncommitted changes to be persisted.
In some cases, this could cause data corruption.
</li><li>
JdbcConnectionPool: it was possible to set a negative connection pool size.
</li><li>
Fulltext search did not support table names with a backslash.
</li><li>
The internal IntArray class did not work correctly when initialized with a zero length array.
</li><li>
The H2 Console web application (war file) did only support ASCII characters.
Now UTF-8 is supported.
</li><li>
DATEADD does no longer require that the argument is a timestamp.
</li><li>
The database file locking mechanism didn't work correctly on Mac OS.
</li><li>
Some built-in functions reported the wrong precision, scale, and display size.
</li><li>
MySQL compatibility for CREATE TABLE is improved (UNSIGNED, KEY).
</li><li>
Recovery did not work if there were more than 255 lobs stored as files.
</li><li>
New experimental mode to support multiple read-write connections without starting
a server. To enable this mode, append ;FILE_LOCK=SERIALIZED;OPEN_NEW=TRUE to the database URL.
Don't expect high performance when multiple concurrent writers.
</li><li>
In a web application, the database classes are not unloaded if a connection is open.
This may cause out of memory when re-deploying a web application.
The DbStarter is changed to close all connections to the configured database
(by executing SHUTDOWN).
</li><li>
The WebServlet did not close the database when un-deploying the web application.
</li><li>
The exception message of failed INSERT or MERGE statements now includes all values and the row number.
</li><li>
If opening a database failed with an out of memory exception, some files were not closed.
</li><li>
Optimizer: the expected runtime calculation was incorrect. The fixed calculation
should give slightly better query plans when using many joins.
</li><li>
Improved exception message when connecting to a just started server fails.
</li><li>
Connection.isValid is a bit faster.
</li><li>
H2 Console: the autocomplete feature has been improved a bit. It can now better
parse conditions.
</li><li>
When restarting a web application in Tomcat, an exception was thrown sometimes.
In most cases this was a NullPointerException. A workaround in H2 has been implemented.
The root cause of the problem is now documented in the FAQ:
Tomcat sets all static fields (final or non-final) to null when unloading a web application.
A workaround is to put the h2.jar in the lib directory, or set the system property
org.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES
to false.
</li></ul>
<!-- [close] { -->
</div></td></tr></table>
<!-- } --><!-- analytics -->
</body></html>
<!-- [close] { -->
</div></td></tr></table>
<!-- } --><!-- analytics -->
</body></html>
h2/src/docsrc/text/_docs_en.utf8.txt
浏览文件 @
327c1051
差异被折叠。
点击展开。
h2/src/docsrc/text/_docs_ja.utf8.txt
浏览文件 @
327c1051
差异被折叠。
点击展开。
h2/src/docsrc/textbase/_docs_en.properties
浏览文件 @
327c1051
差异被折叠。
点击展开。
h2/src/main/org/h2/engine/Constants.java
浏览文件 @
327c1051
...
@@ -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
=
12
8
;
public
static
final
int
BUILD_ID
=
12
9
;
/**
/**
* 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-0
1-30
"
;
public
static
final
String
BUILD_DATE
=
"2010-0
2-19
"
;
/**
/**
* The build date is updated for each public release.
* The build date is updated for each public release.
...
...
h2/src/test/org/h2/samples/newsfeed.sql
浏览文件 @
327c1051
...
@@ -13,8 +13,21 @@ INSERT INTO CHANNEL VALUES('H2 Database Engine' ,
...
@@ -13,8 +13,21 @@ 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
(
79
,
'New version available: 1.2.129 (2010-02-19)'
,
'2010-02-19 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
(
78
,
INSERT
INTO
ITEM
VALUES
(
78
,
'New version available: 1.2.128 (2010-01-30)'
,
'20
09-12
-30 12:00:00'
,
'New version available: 1.2.128 (2010-01-30)'
,
'20
10-01
-30 12:00:00'
,
$$
A
new
version
of
H2
is
available
for
$$
A
new
version
of
H2
is
available
for
<
a
href
=
"http://www.h2database.com"
>
download
</
a
>
.
<
a
href
=
"http://www.h2database.com"
>
download
</
a
>
.
(
You
may
have
to
click
'Refresh'
).
(
You
may
have
to
click
'Refresh'
).
...
@@ -260,38 +273,6 @@ For future plans, see the 'Roadmap' page at
...
@@ -260,38 +273,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(66,
'
New
version
available
:
1
.
1
.
116
(
2009
-
07
-
18
)
', '
2009
-
07
-
18
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>Result sets are now read-only by default.
</li><li>New system property h2.defaultResultSetConcurrency.
</li><li>Using an invalid result set type or concurrency now throws an exception.
</li><li>H2 Console: column of non-default schemas are now also listed.
</li><li>H2 Console: Oracle system tables are no longer listed.
</li><li>PG Server: improved compatibility and new system property h2.pgClientEncoding.
Thanks a lot to Sergi Vladykin for the patch!
</li><li>To enable the page store mechanism, append ;PAGE_STORE=TRUE to the URL.
This mechanism is now relatively stable.
</li><li>The built-in help is smaller.
</li></ul>
<b>Bugfixes:</b>
<ul><li>Server-less multi-connection mode: more bugs are fixed.
</li><li>If a pooled connection was not closed, an exception could occur.
</li><li>Removing an auto-increment or identity column didn'
t
remove
the
sequence
.
</
li
><
li
>
Fulltext
search
:
an
exception
was
thrown
when
updating
a
value
sometimes
.
</
li
><
li
>
The
Recover
tool
did
not
always
work
.
</
li
><
li
>
The
soft
-
references
cache
(
CACHE_TYPE
=
SOFT_LRU
)
could
throw
an
exception
.
</
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
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论