Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
c1ae7eb5
提交
c1ae7eb5
authored
15 年前
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
prepare release
上级
a99980f9
全部展开
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
984 行增加
和
1116 行删除
+984
-1116
changelog.html
h2/src/docsrc/html/changelog.html
+5
-32
_docs_en.utf8.txt
h2/src/docsrc/text/_docs_en.utf8.txt
+316
-355
_docs_ja.utf8.txt
h2/src/docsrc/text/_docs_ja.utf8.txt
+316
-355
_docs_en.properties
h2/src/docsrc/textbase/_docs_en.properties
+311
-324
Constants.java
h2/src/main/org/h2/engine/Constants.java
+4
-4
newsfeed.sql
h2/src/test/org/h2/samples/newsfeed.sql
+32
-46
没有找到文件。
h2/src/docsrc/html/changelog.html
浏览文件 @
c1ae7eb5
...
...
@@ -18,6 +18,10 @@ Change Log
<h1>
Change Log
</h1>
<h2>
Next Version (unreleased)
</h2>
<ul><li>
-
</li></ul>
<h2>
Version 1.1.115 (2009-06-21)
</h2>
<ul><li>
The new storage mechanism is now alpha quality. To try it out, set the system property
"h2.pageStore" to "true" (java -Dh2.pageStore=true). There are still bugs to be found and fixed,
for example inserting many rows references a lot of main memory. Performance is currently
...
...
@@ -41,7 +45,6 @@ Change Log
included a file entry for the LOB directory. This caused the
restore to fail.
</li><li>
Data types: LONG is now an alias for BIGINT.
</li><li>
More bugs in the server-less multi-connection mode have been fixed.
</li></ul>
<h2>
Version 1.1.114 (2009-06-01)
</h2>
...
...
@@ -554,35 +557,5 @@ Change Log
</li><li>
Stopping a WebServer didn't always work. Fixed.
</li></ul>
<h2>
Version 1.0.74 (2008-06-21)
</h2>
<ul>
<li>
Work on row level locking has been started (but there is nothing usable yet).
</li><li>
JaQu (Java Query), a tool similar to LINQ (Language Integrated Query; from Microsoft)
is now included under src/tools/org/h2/jaqu. A small sample application is included under
src/test/org/h2/test/jaqu.
</li><li>
The source code is now switched to Java 1.6 by default. To switch back to Java 1.4, run 'build compile'.
The h2.jar file is still Java 1.4.
</li><li>
The ChangePassword tool is now called ChangeFileEncryption.
</li><li>
It is no longer allowed to create columns with the data type NULL.
Also, it is no longer allowed to convert a column to the data type NULL.
This was possible before but caused data loss.
</li><li>
When using computed columns or default values with a different data type than the column data type,
a class cast exception could occur. Fixed.
</li><li>
Opening databases larger than 1 GB was sometimes very slow if a lot of data was deleted previously. Fixed.
</li><li>
RUNSCRIPT could throw a NullPointerException if the script name was an expression.
</li><li>
Improved compatibility. New compatibility modes for Oracle and Derby.
New compatibility flag uniqueIndexNullDistinct to only allow one row with 'NULL' in a unique
index. This flag is enabled for Derby, Oracle, MSSQLServer, and HSQLDB.
</li><li>
Linked tables: To view the statements that are executed against the target table, set the trace level to 3.
</li><li>
RunScript tool: new options to show and check the results of queries.
</li><li>
Deadlocks are now detected. One transaction is rolled back automatically.
</li><li>
The Lucene fulltext index was always re-created when opening a
database with fulltext index enabled.
</li><li>
Support for overloaded Java methods. A user defined function can
now be bound to multiple Java methods, if the Java methods have the same
name but a different number of parameters. Thanks to Gary Tong for
providing a patch!
</li></ul>
<!-- [close] { -->
</div></td></tr></table>
<!-- } --><!-- analytics -->
</body></html>
This diff is collapsed.
Click to expand it.
h2/src/docsrc/text/_docs_en.utf8.txt
浏览文件 @
c1ae7eb5
差异被折叠。
点击展开。
h2/src/docsrc/text/_docs_ja.utf8.txt
浏览文件 @
c1ae7eb5
差异被折叠。
点击展开。
h2/src/docsrc/textbase/_docs_en.properties
浏览文件 @
c1ae7eb5
差异被折叠。
点击展开。
h2/src/main/org/h2/engine/Constants.java
浏览文件 @
c1ae7eb5
...
...
@@ -14,22 +14,22 @@ public class Constants {
/**
* The build id is incremented for each public release.
*/
public
static
final
int
BUILD_ID
=
11
4
;
public
static
final
int
BUILD_ID
=
11
5
;
/**
* The build id of the last stable release.
*/
public
static
final
int
BUILD_ID_STABLE
=
11
3
;
public
static
final
int
BUILD_ID_STABLE
=
11
4
;
/**
* The build date is updated for each public release.
*/
public
static
final
String
BUILD_DATE
=
"2009-06-
01
"
;
public
static
final
String
BUILD_DATE
=
"2009-06-
27
"
;
/**
* The build date is updated for each public release.
*/
public
static
final
String
BUILD_DATE_STABLE
=
"2009-0
5-2
1"
;
public
static
final
String
BUILD_DATE_STABLE
=
"2009-0
6-0
1"
;
/**
* The TCP protocol version number 5. This protocol is used by the TCP
...
...
This diff is collapsed.
Click to expand it.
h2/src/test/org/h2/samples/newsfeed.sql
浏览文件 @
c1ae7eb5
...
...
@@ -13,6 +13,38 @@ INSERT INTO CHANNEL VALUES('H2 Database Engine' ,
CREATE
TABLE
ITEM
(
ID
INT
PRIMARY
KEY
,
TITLE
VARCHAR
,
ISSUED
TIMESTAMP
,
DESC
VARCHAR
);
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
$$
);
INSERT
INTO
ITEM
VALUES
(
64
,
'New version available: 1.1.114 (2009-06-01)'
,
'2009-06-01 12:00:00'
,
$$
A
new
version
of
H2
is
available
for
<
a
href
=
"http://www.h2database.com"
>
download
</
a
>
.
...
...
@@ -407,52 +439,6 @@ For future plans, see the 'Roadmap' page at
http://www.h2database.com/html/roadmap.html
$$);
INSERT INTO ITEM VALUES(51,
'
New
version
available
:
1
.
1
.
101
(
beta
;
2008
-
10
-
17
)
', '
2008
-
10
-
17
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>OSGi meta data is included in the manifest file.
</li><li>Queries with more than 10 tables are now faster.
</li><li>Opening large database is now faster.
</li><li>Opening a connection with AUTO_SERVER=TRUE is now fast.
</li><li>There is now a default timeout of 2 seconds to connect to a server.
</li><li>Improved Glassfish / Toplink support in H2Platform.
</li><li>New functions ISO_YEAR, ISO_WEEK, ISO_DAY_OF_WEEK.
</li><li>IF [NOT] EXISTS is supported for named constraints.
</li><li>The methods getTableName() and getColumnName() now return the real names.
</li><li>In SQL scripts created with SCRIPT TO, schemas are now only created if they don'
t
exist
yet
.
</
li
><
li
>
Local
temporary
tables
now
support
indexes
.
</
li
><
li
>
RUNSCRIPT
no
longer
uses
a
temporary
file
.
</
li
><
li
>
New
system
table
INFORMATION_SCHEMA
.
SESSION_STATE
.
</
li
><
li
>
After
an
automatic
re
-
connect
,
part
of
the
session
state
stays
.
</
li
><
li
>
After
re
-
connecting
to
a
database
,
the
database
event
listener
(
if
set
)
is
informed
about
it
.
</
li
><
li
>
New
system
property
h2
.
maxReconnect
(
default
3
).
</
li
><
li
>
The
error
messages
have
been
translated
to
Spanish
by
Dario
V
.
Fassi
.
</
li
><
li
>
The
date
functions
DAYOF
...
are
now
called
DAY_OF_
...
(
the
old
names
still
work
).
</
li
><
li
>
Linked
tables
:
compatibility
with
MS
SQL
Server
has
been
improved
.
</
li
><
li
>
The
default
value
for
MAX_MEMORY_UNDO
is
now
50000
.
</
li
><
li
>
Fulltext
search
:
new
method
FT_DROP_INDEX
.
</
li
></
ul
>
<
b
>
Bugfixes
:
</
b
>
<
ul
><
li
>
Linked
tables
:
the
automatic
connection
sharing
didn
't work.
</li><li>The wrong parameters were bound to subqueries with parameters.
</li><li>Unset parameters were not detected when the query was re-compiled.
</li><li>An out of memory error could result in a strange exception.
</li><li>Renaming tables that have foreign keys didn'
t
work
.
</
li
><
li
>
Auto
-
reconnect
didn
't work when using auto-server.
</li><li>The optimization to group using an index didn'
t
work
sometimes
.
</
li
><
li
>
The
build
didn
't work if the directory temp didn'
t
exist
before
.
</
li
><
li
>
WHERE
..
IN
(
SELECT
...)
could
throw
a
NullPointerException
.
</
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,
XMLSTARTDOC() ||
XMLNODE('
rss
', XMLATTR('
version
', '
2
.
0
'),
...
...
This diff is collapsed.
Click to expand it.
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论