Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
01125a63
提交
01125a63
authored
11月 02, 2010
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Prepare release.
上级
1a313341
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
9 行增加
和
68 行删除
+9
-68
changelog.html
h2/src/docsrc/html/changelog.html
+4
-63
Constants.java
h2/src/main/org/h2/engine/Constants.java
+4
-4
newsfeed.sql
h2/src/test/org/h2/samples/newsfeed.sql
+1
-1
没有找到文件。
h2/src/docsrc/html/changelog.html
浏览文件 @
01125a63
...
@@ -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.145 (2010-11-02)
</h2>
<ul><li>
A new String cache is now created at most once every 5 second, so that out of memory exceptions
<ul><li>
A new String cache is now created at most once every 5 second, so that out of memory exceptions
are not artificially delayed.
are not artificially delayed.
</li><li>
After closing a database, the writer thread will stop after 100 ms at the latest (instead of 1 second).
</li><li>
After closing a database, the writer thread will stop after 100 ms at the latest (instead of 1 second).
...
@@ -830,68 +834,5 @@ Change Log
...
@@ -830,68 +834,5 @@ Change Log
</li><li>
Improved support for GAE for Java thanks to Vince Bonfanti.
</li><li>
Improved support for GAE for Java thanks to Vince Bonfanti.
</li></ul>
</li></ul>
<h2>
Version 1.2.122 (2009-10-28)
</h2>
<ul><li>
The native fulltext search now supports streaming CLOB data.
</li><li>
If the database URL ends with ;PAGE_STORE=TRUE and a database in
the old format exists, it is automatically converted to the new page store format
if possible. A backup of the database is created first. Automatic conversion is not supported
if the database was not closed normally (if it contains uncommitted transactions).
</li><li>
Dropping the current user is now allowed if another admin user exists.
</li><li>
Values of type BINARY or BLOB could not be converted to the data type OTHER.
</li><li>
SHUTDOWN COMPACT now fully compacts the database.
</li><li>
New system properties h2.maxCompactCount and h2.maxCompactTime
to allow changing the default behavior (at most 2 seconds compacting when closing the database).
</li><li>
New sorted insert optimization (see Performance / Database Performance Tuning).
</li><li>
Issue 116: The files h2*-sources.jar and h2*-javadoc.jar are
now in the Maven repository.
</li><li>
Page store: opening a large database was slow if it was not closed before.
</li><li>
Page store: new write and read counters in the meta data table. Use
SELECT * FROM INFORMATION_SCHEMA.SETTINGS WHERE NAME IN(
'info.FILE_WRITE_TOTAL', 'info.FILE_WRITE', 'info.FILE_READ',
'info.CACHE_MAX_SIZE', 'info.CACHE_SIZE')
</li><li>
The SQL syntax is documented using (railroad) diagrams.
The diagrams are HTML.
</li><li>
The documentation is no longer available in Japanese because the
translation was too much out of sync. Please use the Google translation instead.
</li><li>
Certain queries were not sorted if subselect queries were involved
</li><li>
More bugs in the server-less multi-connection mode have been fixed:
90097 The database is read only, caches must be cleared on reconnect, etc.
</li></ul>
<h2>
Version 1.2.121 (2009-10-11)
</h2>
<ul><li>
Better support GaeVFS (Google App Engine Virtual File System) thanks to Thanks to Vince Bonfanti.
</li><li>
CSVREAD didn't close the file. Thanks to Vince Bonfanti for the patch!
</li><li>
If a database in the old format exists, it is now used.
The system property is used for new databases, or if databases exist
in both formats. In any case, the flag in the URL overrides this logic.
</li><li>
Page store bugs were fixed. Large values in indexed columns could corrupt the index.
</li><li>
The page store did not work when using Retrotranslator (because the Retrotranslator doesn't
support Integer.reverse and Long.reverse).
</li><li>
New system property h2.pageStoreTrim to disable shrinking the database when closing
(disabled by default, meaning by default the database is trimmed).
</li></ul>
<h2>
Version 1.2.120 (2009-10-04)
</h2>
<ul><li>
This is a beta version.
</li><li>
Large updates could throw an ArrayIndexOutOfBoundsException in RowList.writeRow.
</li><li>
In version 1.2, the following system properties are now enabled by default:
h2.pageStore, h2.nullConcatIsNull, h2.optimizeInList. The default value for
h2.defaultMaxLengthInplaceLob is now 4096 (it was 1024 with version 1.1).
</li><li>
New databases are now stored in the new 'page store' file format.
Existing databases are kept in the old file format. To use the old file format,
append ;PAGE_STORE=FALSE to the database URL or set the system property h2.pageStore to false.
</li><li>
Issue 125: Renaming primary keys was not persistent. Fixed.
Unfortunately, databases created by this version can not be opened with older versions because of this change.
</li><li>
Issue 124: Hibernate schema validation failed for decimal/numeric columns.
This problem is fixed in the Hibernate dialect that is included with H2
(src/tools/org/hibernate/dialect/H2Dialect.java.txt), but not in Hibernate yet.
</li><li>
PostgreSQL compatibility: function LASTVAL() as an alias for IDENTITY().
</li><li>
Linked tables now support default values when inserting, updating or merging.
</li><li>
Bugfixes in the page store.
</li><li>
Possibility to set a vendor id in Constants.java, so that unofficial builds are distinguishable
from official releases.
</li><li>
Allow writing to linked tables in readonly databases.
</li></ul>
<!-- [close] { -->
</div></td></tr></table>
<!-- } --><!-- analytics -->
</body></html>
<!-- [close] { -->
</div></td></tr></table>
<!-- } --><!-- analytics -->
</body></html>
h2/src/main/org/h2/engine/Constants.java
浏览文件 @
01125a63
...
@@ -16,22 +16,22 @@ public class Constants {
...
@@ -16,22 +16,22 @@ 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-1
0-15
"
;
public
static
final
String
BUILD_DATE
=
"2010-1
1-02
"
;
/**
/**
* The build date is updated for each public release.
* The build date is updated for each public release.
*/
*/
public
static
final
String
BUILD_DATE_STABLE
=
"2010-
09-18
"
;
public
static
final
String
BUILD_DATE_STABLE
=
"2010-
10-15
"
;
/**
/**
* The build id is incremented for each public release.
* The build id is incremented for each public release.
*/
*/
public
static
final
int
BUILD_ID
=
14
4
;
public
static
final
int
BUILD_ID
=
14
5
;
/**
/**
* The build id of the last stable release.
* The build id of the last stable release.
*/
*/
public
static
final
int
BUILD_ID_STABLE
=
14
3
;
public
static
final
int
BUILD_ID_STABLE
=
14
4
;
/**
/**
* If H2 is compiled to be included in a product, this should be set to
* If H2 is compiled to be included in a product, this should be set to
...
...
h2/src/test/org/h2/samples/newsfeed.sql
浏览文件 @
01125a63
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
CREATE
TABLE
VERSION
(
ID
INT
PRIMARY
KEY
,
VERSION
VARCHAR
,
CREATED
VARCHAR
);
CREATE
TABLE
VERSION
(
ID
INT
PRIMARY
KEY
,
VERSION
VARCHAR
,
CREATED
VARCHAR
);
INSERT
INTO
VERSION
VALUES
INSERT
INTO
VERSION
VALUES
(
95
,
'1.2.145'
,
'2010-11-02'
),
(
94
,
'1.2.144'
,
'2010-10-15'
),
(
94
,
'1.2.144'
,
'2010-10-15'
),
(
93
,
'1.2.143'
,
'2010-09-18'
),
(
93
,
'1.2.143'
,
'2010-09-18'
),
(
92
,
'1.2.142'
,
'2010-08-31'
),
(
92
,
'1.2.142'
,
'2010-08-31'
),
...
@@ -21,7 +22,6 @@ INSERT INTO VERSION VALUES
...
@@ -21,7 +22,6 @@ INSERT INTO VERSION VALUES
(
83
,
'1.2.133'
,
'2010-04-10'
),
(
83
,
'1.2.133'
,
'2010-04-10'
),
(
82
,
'1.2.132'
,
'2010-03-21'
),
(
82
,
'1.2.132'
,
'2010-03-21'
),
(
81
,
'1.2.131'
,
'2010-03-05'
),
(
81
,
'1.2.131'
,
'2010-03-05'
),
(
80
,
'1.2.130'
,
'2010-02-26'
),
;
;
CREATE
TABLE
CHANNEL
(
TITLE
VARCHAR
,
LINK
VARCHAR
,
DESC
VARCHAR
,
CREATE
TABLE
CHANNEL
(
TITLE
VARCHAR
,
LINK
VARCHAR
,
DESC
VARCHAR
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论