Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
2c4622ee
提交
2c4622ee
authored
8月 09, 2009
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
prepare release
上级
6d1973b0
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
1051 行增加
和
1124 行删除
+1051
-1124
changelog.html
h2/src/docsrc/html/changelog.html
+5
-1
_docs_en.utf8.txt
h2/src/docsrc/text/_docs_en.utf8.txt
+338
-371
_docs_ja.utf8.txt
h2/src/docsrc/text/_docs_ja.utf8.txt
+338
-371
_docs_en.properties
h2/src/docsrc/textbase/_docs_en.properties
+334
-345
Constants.java
h2/src/main/org/h2/engine/Constants.java
+4
-4
PageScanIndex.java
h2/src/main/org/h2/index/PageScanIndex.java
+0
-1
newsfeed.sql
h2/src/test/org/h2/samples/newsfeed.sql
+32
-31
没有找到文件。
h2/src/docsrc/html/changelog.html
浏览文件 @
2c4622ee
...
@@ -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.1.117 (2009-08-09)
</h2>
<ul><li>
New committer: Sam Van Oort has been contributing to H2 since quite some time
<ul><li>
New committer: Sam Van Oort has been contributing to H2 since quite some time
in many ways (on the mailing list, documentation, and in the form of patches).
in many ways (on the mailing list, documentation, and in the form of patches).
He is now a committer.
He is now a committer.
...
@@ -32,7 +36,7 @@ Change Log
...
@@ -32,7 +36,7 @@ Change Log
</li><li>
Improved PostgreSQL compatibility for timestamp literals with timezone.
</li><li>
Improved PostgreSQL compatibility for timestamp literals with timezone.
</li><li>
Sergi Vladykin translated the error messages to Russian. Thanks a lot!
</li><li>
Sergi Vladykin translated the error messages to Russian. Thanks a lot!
</li><li>
Support for Java 6 DatabaseMetaData.getTables, getColumns, getProcedures, and getProcedureColumns.
</li><li>
Support for Java 6 DatabaseMetaData.getTables, getColumns, getProcedures, and getProcedureColumns.
</li><li>
Issue 101: Rollback of a large transaction could fail.
</li><li>
Issue 101: Rollback of a large transaction
(more than 100000 rows)
could fail.
</li><li>
Various bugfixes and improvements in the page store mechanism (still experimental).
</li><li>
Various bugfixes and improvements in the page store mechanism (still experimental).
</li><li>
The functions LENGTH, OCTET_LENGTH, and BIT_LENGTH now return BIGINT.
</li><li>
The functions LENGTH, OCTET_LENGTH, and BIT_LENGTH now return BIGINT.
</li><li>
Data types CLOB and BLOB: the maximum precision was Integer.MAX_VALUE, it is now Long.MAX_VALUE.
</li><li>
Data types CLOB and BLOB: the maximum precision was Integer.MAX_VALUE, it is now Long.MAX_VALUE.
...
...
h2/src/docsrc/text/_docs_en.utf8.txt
浏览文件 @
2c4622ee
差异被折叠。
点击展开。
h2/src/docsrc/text/_docs_ja.utf8.txt
浏览文件 @
2c4622ee
差异被折叠。
点击展开。
h2/src/docsrc/textbase/_docs_en.properties
浏览文件 @
2c4622ee
差异被折叠。
点击展开。
h2/src/main/org/h2/engine/Constants.java
浏览文件 @
2c4622ee
...
@@ -14,22 +14,22 @@ public class Constants {
...
@@ -14,22 +14,22 @@ 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
=
11
6
;
public
static
final
int
BUILD_ID
=
11
7
;
/**
/**
* The build id of the last stable release.
* The build id of the last stable release.
*/
*/
public
static
final
int
BUILD_ID_STABLE
=
11
5
;
public
static
final
int
BUILD_ID_STABLE
=
11
6
;
/**
/**
* The build date is updated for each public release.
* The build date is updated for each public release.
*/
*/
public
static
final
String
BUILD_DATE
=
"2009-0
7-18
"
;
public
static
final
String
BUILD_DATE
=
"2009-0
8-09
"
;
/**
/**
* 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
=
"2009-0
6-27
"
;
public
static
final
String
BUILD_DATE_STABLE
=
"2009-0
7-18
"
;
/**
/**
* 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/main/org/h2/index/PageScanIndex.java
浏览文件 @
2c4622ee
...
@@ -179,7 +179,6 @@ public class PageScanIndex extends BaseIndex implements RowIndex {
...
@@ -179,7 +179,6 @@ public class PageScanIndex extends BaseIndex implements RowIndex {
* @param parent the parent, or -1 if unknown
* @param parent the parent, or -1 if unknown
* @return the page
* @return the page
*/
*/
PageData
getPage
(
int
id
,
int
parent
)
throws
SQLException
{
PageData
getPage
(
int
id
,
int
parent
)
throws
SQLException
{
Record
rec
=
store
.
getRecord
(
id
);
Record
rec
=
store
.
getRecord
(
id
);
if
(
rec
!=
null
)
{
if
(
rec
!=
null
)
{
...
...
h2/src/test/org/h2/samples/newsfeed.sql
浏览文件 @
2c4622ee
...
@@ -13,6 +13,38 @@ INSERT INTO CHANNEL VALUES('H2 Database Engine' ,
...
@@ -13,6 +13,38 @@ 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
(
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
$$
);
INSERT
INTO
ITEM
VALUES
(
66
,
INSERT
INTO
ITEM
VALUES
(
66
,
'New version available: 1.1.116 (2009-07-18)'
,
'2009-07-18 12:00:00'
,
'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
>
.
$$
A
new
version
of
H2
is
available
for
<
a
href
=
"http://www.h2database.com"
>
download
</
a
>
.
...
@@ -412,37 +444,6 @@ For future plans, see the 'Roadmap' page at
...
@@ -412,37 +444,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(53,
'
New
version
available
:
1
.
1
.
103
(
beta
;
2008
-
11
-
07
)
', '
2008
-
11
-
07
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>New column INFORMATION_SCHEMA.COLUMNS.SEQUENCE_NAME.
</li><li>Aliases for built-in data types can now be re-mapped.
</li><li>Improved PostgreSQL compatibility for NEXTVAL and CURRVAL.
</li><li>The Japanese translation has been completed by Masahiro Ikemoto.
</li><li>New system property h2.browser to set the browser to use.
</li><li>To start the browser, java.awt.Desktop.browse is now used if available.
</li><li>Less heap memory is needed when multiple databases are open.
</li></ul>
<b>Bugfixes:</b>
<ul><li>Could not order by a formula when the formula was in the group by list
but not in the select list.
</li><li>Date values that match the daylight saving time end were not allowed in
times zones were the daylight saving time ends at midnight, for years larger than 2037.
This is a problem of Java, however a workaround is implemented in H2 that solves
most problems (except the problems of java.util.Date itself).
</li><li>ALTER TABLE used a lot of memory when using multi-version concurrency.
</li><li>Referential integrity for in-memory databases didn'
t
work
in
some
cases
.
</
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
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论