Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
d89f6a8b
提交
d89f6a8b
authored
1月 30, 2010
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Prepare release.
上级
10e1db85
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
22 行增加
和
67 行删除
+22
-67
changelog.html
h2/src/docsrc/html/changelog.html
+4
-30
Constants.java
h2/src/main/org/h2/engine/Constants.java
+4
-4
newsfeed.sql
h2/src/test/org/h2/samples/newsfeed.sql
+14
-33
没有找到文件。
h2/src/docsrc/html/changelog.html
浏览文件 @
d89f6a8b
...
@@ -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>
There are known errors on rollback when the page store is disabled and at the same time
<ul><li>
There are known errors on rollback when the page store is disabled and at the same time
MVCC is used. See http://code.google.com/p/h2database/issues/detail?id=158
MVCC is used. See http://code.google.com/p/h2database/issues/detail?id=158
</li><li>
The DeleteDbFiles tool deleted all files in the .lob.db directory,
</li><li>
The DeleteDbFiles tool deleted all files in the .lob.db directory,
...
@@ -43,8 +47,6 @@ Change Log
...
@@ -43,8 +47,6 @@ Change Log
</li><li>
If a FOR UPDATE query was executed twice (using a PreparedStatement), the table was not locked.
</li><li>
If a FOR UPDATE query was executed twice (using a PreparedStatement), the table was not locked.
</li><li>
Triggers: INSTEAD OF triggers are now supported.
</li><li>
Triggers: INSTEAD OF triggers are now supported.
Such triggers can be defined on views.
Such triggers can be defined on views.
</li><li>
MVCC: if the page store is disabled, rollback of multiple rows
with the same index key did not work correctly.
</li><li>
New system property h2.identifiersToUpper. If set to false,
</li><li>
New system property h2.identifiersToUpper. If set to false,
identifiers in SQL statements are case sensitive even if they are not quoted.
identifiers in SQL statements are case sensitive even if they are not quoted.
</li><li>
Slightly improved performance if the table is already locked.
</li><li>
Slightly improved performance if the table is already locked.
...
@@ -608,33 +610,5 @@ Change Log
...
@@ -608,33 +610,5 @@ Change Log
to false.
to false.
</li></ul>
</li></ul>
<h2>
Version 1.1.107 (2009-01-24)
</h2>
<ul><li>
Some DatabaseMetaData operations did not work for non-admin users for versions 1.1.x.
</li><li>
The MySQL compatibility extension fromUnixTime now used the English locale.
</li><li>
When using LOG=2 and repeatedly updating the last row rows of a table, the index file grew quickly.
</li><li>
In versions 1.1.105 and 1.1.106, encrypted script files of earlier versions could not be processed.
This is now again possible. The problem was that such script files were stored in a special format
(STORAGE=TEXT) but support for this format was removed in version 1.1.105.
</li><li>
Enabling the trace mechanism by creating a specially named file is no longer supported.
</li></ul>
<h2>
Version 1.1.106 (2009-01-04)
</h2>
<ul><li>
Statement.setQueryTimeout did not work correctly for some statements.
</li><li>
CREATE DOMAIN: built-in data types can now only be changed if no tables exist.
</li><li>
Linked tables: a workaround for Oracle DATE columns has been implemented.
</li><li>
DatabaseMetaData.getPrimaryKeys: the column PK_NAME now contains the
constraint name instead of the index name (compatibility for PostgreSQL and Derby).
</li><li>
Using IN(..) inside a IN(SELECT..) did not always work.
</li><li>
Views with IN(..) that used a view itself did not work.
</li><li>
Union queries with LIMIT or ORDER BY that are used in a view or subquery did not work.
</li><li>
The license change a bit: so far the license was modified to say
'Swiss law'. This is now changed back to the original 'US law'.
This was requested by a user, and I don't see a problem.
</li><li>
Constraints for local temporary tables now session scoped. So far they were global.
Thanks a lot to Eric Faulhaber for finding and fixing this problem!
</li><li>
When using the auto-server mode, and if the lock file was modified in the future,
the wrong exception was thrown ('Connection is broken' instead of 'Error opening database: lock file modified in the future').
</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
浏览文件 @
d89f6a8b
...
@@ -14,12 +14,12 @@ public class Constants {
...
@@ -14,12 +14,12 @@ 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
7
;
public
static
final
int
BUILD_ID
=
12
8
;
/**
/**
* The build id of the last stable release.
* The build id of the last stable release.
*/
*/
public
static
final
int
BUILD_ID_STABLE
=
1
18
;
public
static
final
int
BUILD_ID_STABLE
=
1
27
;
/**
/**
* 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
...
@@ -32,12 +32,12 @@ public class Constants {
...
@@ -32,12 +32,12 @@ 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-01-
15
"
;
public
static
final
String
BUILD_DATE
=
"2010-01-
30
"
;
/**
/**
* 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
=
"20
09-09-04
"
;
public
static
final
String
BUILD_DATE_STABLE
=
"20
10-01-15
"
;
/**
/**
* The TCP protocol version number 5. This protocol is used by the TCP
* The TCP protocol version number 5. This protocol is used by the TCP
...
...
h2/src/test/org/h2/samples/newsfeed.sql
浏览文件 @
d89f6a8b
...
@@ -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
(
78
,
'New version available: 1.2.128 (2010-01-30)'
,
'2009-12-30 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
(
77
,
INSERT
INTO
ITEM
VALUES
(
77
,
'New version available: 1.2.127 (2010-01-15)'
,
'20
09-12-18
12:00:00'
,
'New version available: 1.2.127 (2010-01-15)'
,
'20
10-01-15
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'
).
...
@@ -279,38 +292,6 @@ For future plans, see the 'Roadmap' page at
...
@@ -279,38 +292,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
(
65
,
'New version available: 1.1.115 (2009-06-27)'
,
'2009-06-27 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
>
The
new
storage
mechanism
is
now
alpha
quality
.
To
try
it
out
,
enable
the
system
property
"h2.pageStore"
to
"true"
.
The
database
file
size
is
smaller
,
and
there
is
only
one
file
.
</
li
><
li
>
java
.
util
.
UUID
is
now
supported
.
</
li
><
li
>
H2
Console
:
improved
Polish
translation
.
</
li
><
li
>
The
download
page
now
included
the
SHA1
checksums
.
</
li
><
li
>
Shell
tool
:
the
file
encoding
workaround
is
now
documented
.
</
li
><
li
>
Data
types
:
LONG
is
now
an
alias
for
BIGINT
.
</
li
></
ul
>
<
b
>
Bugfixes
:
</
b
>
<
ul
><
li
>
ALTER
TABLE
could
throw
an
exception
"object already exists"
.
</
li
><
li
>
Views
:
in
some
situations
,
an
ArrayIndexOutOfBoundsException
was
thrown
.
</
li
><
li
>
H2
Console
:
the
language
was
reset
to
the
browser
language
.
</
li
><
li
>
Server
-
less
multi
-
connection
mode
:
more
bugs
are
fixed
.
</
li
><
li
>
RunScript
did
not
work
with
LZF
.
</
li
><
li
>
Fulltext
search
:
searching
for
NULL
or
an
empty
string
threw
an
exception
.
</
li
><
li
>
Lucene
fulltext
search
:
FTL_DROP_ALL
did
not
drop
triggers
.
</
li
><
li
>
Backup
:
the
backup
could
included
a
file
entry
for
the
LOB
directory
.
</
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
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论