Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
4073e3eb
提交
4073e3eb
authored
4月 23, 2010
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Prepare release.
上级
1e3ff21d
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
21 行增加
和
51 行删除
+21
-51
changelog.html
h2/src/docsrc/html/changelog.html
+4
-34
Constants.java
h2/src/main/org/h2/engine/Constants.java
+4
-4
newsfeed.sql
h2/src/test/org/h2/samples/newsfeed.sql
+13
-13
没有找到文件。
h2/src/docsrc/html/changelog.html
浏览文件 @
4073e3eb
...
...
@@ -18,6 +18,10 @@ Change Log
<h1>
Change Log
</h1>
<h2>
Next Version (unreleased)
</h2>
<ul><li>
</li></ul>
<h2>
Version 1.2.134 (2010-04-23)
</h2>
<ul><li>
New system property h2.analyzeAuto (default 0 meaning disabled) to
automatically run ANALYZE after that many changes to a table.
For details, see the Javadoc of this system property.
...
...
@@ -603,39 +607,5 @@ Change Log
to create a Java 1.4 version (http://retrotranslator.sourceforge.net/).
</li></ul>
<h2>
Version 1.1.113 (2009-05-21)
</h2>
<ul><li>
Shell tool: the built-in commands EXIT, HELP, ?, LIST, and so on didn't
work with a semicolon at the end.
</li><li>
JDK 1.5 is now required to build the jar file. However it is still possible to create
a jar file for Java 1.4. For details, see buildRelease.sh and buildRelease.bat.
As an alternative, compile using JDK 1.5 or 1.6 and use Retrotranslator to create a Java 1.4
version (http://retrotranslator.sourceforge.net/).
</li><li>
When deleting or updating many rows in a table, the space in the index
file was not re-used in the default mode (persistent database, b-tree index,
LOG=1). This caused the index file to grow over time. Workarounds were to
delete and re-created the index file, alter the table (add a remove a column),
or append ;LOG=2 to the database URL. To disable the change, set the system
property h2.reuseSpaceBtreeIndex to false.
</li><li>
Identifiers with a digit and then a dollar sign didn't work. Example: A1$B.
</li><li>
MS SQL Server compatibility: support for linked tables with
NVARCHAR, NCHAR, NCLOB, and LONGNVARCHAR.
</li><li>
Android: workaround for a problem when using read-only databases in zip files
(skip seems to be implemented incorrectly on the Android system).
</li><li>
Calling execute() or prepareStatement() with null as the SQL statement
now throws an exception.
</li><li>
Benchmark: the number of executed statements was incorrect. The H2 database
was loaded at the beginning of the test to collect results, now it is loaded at the very end.
Thanks to Fred Toussi from HSQLDB for reporting those problems. However the changed
do not affect the relative performance.
</li><li>
H2 Console: command line settings are no longer stored in the properties file.
They are now only used for the current process, except if they are explicitly saved.
</li><li>
Cache: support for a second level soft-references cache.
To enable it, append ;CACHE_TYPE=SOFT_LRU (or SOFT_TQ) to the database URL, or
set the system property h2.cacheTypeDefault to "SOFT_LRU" / "SOFT_TQ".
Enabling the second level cache reduces performance for
small databases, but speeds up large databases. It makes sense to use it
if the available memory size is unknown. Thanks a lot to Jan Kotek!
</li></ul>
<!-- [close] { -->
</div></td></tr></table>
<!-- } --><!-- analytics -->
</body></html>
h2/src/main/org/h2/engine/Constants.java
浏览文件 @
4073e3eb
...
...
@@ -14,12 +14,12 @@ public class Constants {
/**
* The build id is incremented for each public release.
*/
public
static
final
int
BUILD_ID
=
13
3
;
public
static
final
int
BUILD_ID
=
13
4
;
/**
* The build id of the last stable release.
*/
public
static
final
int
BUILD_ID_STABLE
=
13
2
;
public
static
final
int
BUILD_ID_STABLE
=
13
3
;
/**
* If H2 is compiled to be included in a product, this should be set to
...
...
@@ -32,12 +32,12 @@ public class Constants {
/**
* The build date is updated for each public release.
*/
public
static
final
String
BUILD_DATE
=
"2010-04-
10
"
;
public
static
final
String
BUILD_DATE
=
"2010-04-
23
"
;
/**
* The build date is updated for each public release.
*/
public
static
final
String
BUILD_DATE_STABLE
=
"2010-0
3-21
"
;
public
static
final
String
BUILD_DATE_STABLE
=
"2010-0
4-10
"
;
/**
* The TCP protocol version number. This protocol is used by the TCP
...
...
h2/src/test/org/h2/samples/newsfeed.sql
浏览文件 @
4073e3eb
...
...
@@ -13,6 +13,19 @@ INSERT INTO CHANNEL VALUES('H2 Database Engine' ,
CREATE
TABLE
ITEM
(
ID
INT
PRIMARY
KEY
,
TITLE
VARCHAR
,
ISSUED
TIMESTAMP
,
DESC
VARCHAR
);
INSERT
INTO
ITEM
VALUES
(
84
,
'New version available: 1.2.134 (2010-04-21)'
,
'2010-04-21 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
(
83
,
'New version available: 1.2.133 (2010-04-10)'
,
'2010-04-10 12:00:00'
,
$$
A
new
version
of
H2
is
available
for
...
...
@@ -156,19 +169,6 @@ For future plans, see the
<
a
href
=
"http://www.h2database.com/html/roadmap.html"
>
roadmap
</
a
>
.
$$
);
INSERT
INTO
ITEM
VALUES
(
72
,
'New version available: 1.2.122 (2009-10-28)'
,
'2009-10-28 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
>
.
$$
);
SELECT
'newsfeed-rss.xml'
FILE
,
XMLSTARTDOC
()
||
XMLNODE
(
'rss'
,
XMLATTR
(
'version'
,
'2.0'
),
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论