Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
3a6678fd
提交
3a6678fd
authored
12月 02, 2007
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
--no commit message
--no commit message
上级
b78408d6
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
33 行增加
和
69 行删除
+33
-69
_docs_en.utf8.txt
h2/src/docsrc/text/_docs_en.utf8.txt
+2
-2
_docs_ja.utf8.txt
h2/src/docsrc/text/_docs_ja.utf8.txt
+2
-2
_docs_en.properties
h2/src/docsrc/textbase/_docs_en.properties
+2
-2
Constants.java
h2/src/main/org/h2/engine/Constants.java
+1
-0
newsfeed.sql
h2/src/test/org/h2/samples/newsfeed.sql
+26
-63
没有找到文件。
h2/src/docsrc/text/_docs_en.utf8.txt
浏览文件 @
3a6678fd
...
...
@@ -1154,7 +1154,7 @@ The conversion between UTF-8 and Java encoding (using the \u syntax), as well as
Downloads
@download_1001_h3
Version 1.0.6
2 (2007-11-25
, Current)
Version 1.0.6
3 (2007-12-02
, Current)
@download_1002_a
Windows Installer
...
...
@@ -3182,7 +3182,7 @@ JDBC and (partial) ODBC API; Web Client application
Download
@mainWeb_1007_td
Version 1.0.6
2 (2007-11-25
):
Version 1.0.6
3 (2007-12-02
):
@mainWeb_1008_a
Windows Installer (2.8 MB)
...
...
h2/src/docsrc/text/_docs_ja.utf8.txt
浏览文件 @
3a6678fd
...
...
@@ -1156,7 +1156,7 @@ Centralリポジトリの利用
ダウンロード
@download_1001_h3
#Version 1.0.6
2 (2007-11-25
, Current)
#Version 1.0.6
3 (2007-12-02
, Current)
@download_1002_a
Windows Installer
...
...
@@ -3184,7 +3184,7 @@ JDBC、 (部分的な) ODBC API; Web クライアントアプリケーション
ダウンロード
@mainWeb_1007_td
#Version 1.0.6
2 (2007-11-25
):
#Version 1.0.6
3 (2007-12-02
):
@mainWeb_1008_a
#Windows Installer (2.8 MB)
...
...
h2/src/docsrc/textbase/_docs_en.properties
浏览文件 @
3a6678fd
...
...
@@ -383,7 +383,7 @@ build_1032_li=Error messages\: src/main/org/h2/res/_messages_*.properties
build_1033_li
=
Web site
\:
src/docsrc/text/_docs_*.utf8.txt
build_1034_p
=
The conversion between UTF-8 and Java encoding (using the
\\
u syntax), as well as the HTML entities (&
\#
..;) is automated by running the tool PropertiesToUTF8. The web site translation is automated as well, using <code>ant docs</code> .
download_1000_h1
=
Downloads
download_1001_h3
=
Version 1.0.6
2 (2007-11-25
, Current)
download_1001_h3
=
Version 1.0.6
3 (2007-12-02
, Current)
download_1002_a
=
Windows Installer
download_1003_a
=
Platform-Independent Zip
download_1004_h3
=
Download Mirror
...
...
@@ -1059,7 +1059,7 @@ mainWeb_1003_li=Written Java; can be compiled with GCJ (Linux)
mainWeb_1004_li
=
Embedded, Server and Cluster modes
mainWeb_1005_li
=
JDBC and (partial) ODBC API; Web Client application
mainWeb_1006_h3
=
Download
mainWeb_1007_td
=
Version 1.0.6
2 (2007-11-25
)
\:
mainWeb_1007_td
=
Version 1.0.6
3 (2007-12-02
)
\:
mainWeb_1008_a=Windows Installer (2.8 MB)
mainWeb_1009_a
=
All platforms (zip, 3.9 MB)
mainWeb_1010_a
=
All Downloads
...
...
h2/src/main/org/h2/engine/Constants.java
浏览文件 @
3a6678fd
...
...
@@ -47,6 +47,7 @@ import org.h2.constant.SysProperties;
* - footer
* - front page
* - orphan control
* - check images
* - table of contents
* - Switch off auto-build
* - ant all
...
...
h2/src/test/org/h2/samples/newsfeed.sql
浏览文件 @
3a6678fd
...
...
@@ -10,6 +10,32 @@ INSERT INTO CHANNEL VALUES('H2 Database Engine' ,
CREATE
TABLE
ITEM
(
ID
INT
PRIMARY
KEY
,
TITLE
VARCHAR
,
ISSUED
TIMESTAMP
,
DESC
VARCHAR
);
INSERT
INTO
ITEM
VALUES
(
33
,
'New version available: 1.0.63 (2007-12-02)'
,
'2007-12-02 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>Performance optimization for IN(...) and IN(SELECT...),
currently disabled by default. To enable, use java -Dh2.optimizeInJoin=true
</li><li>The H2 Console has been translated to Ukrainian by Igor Dobrovolskyi. Thanks a lot!
</li><li>The SecurePassword example has been improved.
</li><li>Improved FTP server: now the PORT command is supported.
</li><li>New function TABLE_DISTINCT.
</li></ul>
<b>Bugfixes:</b>
<ul><li>Certain setting in the Server didn
''
t work.
</li><li>In timezones where the summer time saving limit is at midnight,
some dates did not work in some virtual machines,
for example 2007-10-14 in Chile, using the Sun JVM 1.6.0_03-b05.
</li><li>The native fulltext search was not working properly after re-connecting.
</li><li>Temporary views (FROM(...)) with UNION didn
''
t work if nested.
</li><li>Using LIMIT with values close to Integer.MAX_VALUE didn
''
t work.
</li></ul>
For future plans, see the
''
Roadmap
''
page at
http://groups.google.com/group/h2-database/web/roadmap
'
);
INSERT
INTO
ITEM
VALUES
(
32
,
'New version available: 1.0.62 (2007-11-25)'
,
'2007-11-25 12:00:00'
,
'A new version of H2 is available for <a href="http://www.h2database.com">download</a>.
...
...
@@ -367,69 +393,6 @@ One object per opened connection was kept in a hash map.
For future plans, see the new
''
Roadmap
''
page on the web site.
'
);
INSERT
INTO
ITEM
VALUES
(
23
,
'New version available: 1.0 / 2007-04-29'
,
'2007-04-29 12:00:00'
,
'A new version of H2 is available for <a href="http://www.h2database.com">download</a>.
<br />
<b>Changes and new functionality:</b>
<ul>
<li>New function TABLE to define ad-hoc (temporary) tables in a query.
This also solves problems with variable-size IN(...) queries:
instead of SELECT * FROM TEST WHERE ID IN(?, ?, ...) you can now write:
SELECT * FROM TABLE(ID INT=?) X, TEST WHERE X.ID=TEST.ID
In this case, the index is used.
</li><li>New data type ARRAY. Actually it was there before, but is now documented
and better tested (however it must still be considered experimental).
The java.sql.Array implementation is incomplete, but setObject(1, new Object[]{...})
and getObject(..) can be used. New functions ARRAY_GET and ARRAY_LENGTH.
</li><li>Autocomplete in the Console application: now the result frame scrolls to the top when the list is updated.
</li><li>SimpleResultSet now has some basic data type conversion features.
</li><li>The BACKUP command is better tested and documented.
This means hot backup (online backup) is now possible.
</li><li>The old
''
Backup
''
tool is now called
''
Script
''
(as the SQL statement).
</li><li>There are new
''
Backup
''
and
''
Restore
''
tools that work with database files directly.
</li><li>The new function LINK_SCHEMA simplifies linking all tables of a schema.
</li><li>SCRIPT DROP now also drops aliases (Java functions) if they exist.
</li><li>For encrypted databases, the trace option can no longer be enabled manually by creating a file.
</li><li>For linked tables, NULL in the unique key is now supported.
</li><li>For read-only databases, temp files are now created in the default temp directory instead
of the database directory.
</li><li>CSVWRITE now returns the number of rows written.
</li><li>The Portuguese (Europe) translation is available. Thanks a lot to Antonio Casqueiro!
</li><li>The error message for invalid views has been improved (the root cause is included in the message now).
</li><li>SQLException.getCause of the now works for JDK 1.4 and higher.
</li>
</ul>
<b>Bugfixes:</b>
<ul>
<li>Unnamed private in-memory database (jdbc:h2:mem:) were not
''
private
''
as documented. Fixed.
</li><li>GROUP BY expressions did not work correctly in subqueries. Fixed.
</li><li>When using JDK 1.5 or later, and switching on h2.lobFilesInDirectories,
the performance for creating LOBs was bad. This has been fixed, however
creating lots of LOBs it is still faster when the setting is switched off.
</li><li>A problem with multiple unnamed dynamic tables (FROM (SELECT...)) has been fixed.
</li><li>Appending
''
Z
''
to a timestamp did not have an effect. Now it is interpreted as +00:00 (GMT).
</li><li>The complete syntax for referential and check constraints is now supported
when written as part of the column definition, behind PRIMARY KEY.
</li><li>CASE WHEN ... returned the wrong result when the condition evaluated to NULL.
</li><li>Sending CLOB data was slow in some systems when using the server version. Fixed.
</li><li>The data type of NULLIF was NULL if the first expression was a column. Now the data type is set correctly.
</li><li>Indexes (and other related objects) for local temporary tables where not dropped
when the session was closed. Fixed.
</li><li>ALTER TABLE did not work for tables with computed columns.
</li><li>If the index file was deleted, an error was logged in the .trace.db file. This is no longer done.
</li><li>IN(SELECT ...) was not working correctly if the subquery returned a NULL value. Fixed.
</li><li>DROP ALL OBJECTS did not drop constants.
</li><li>DROP ALL OBJECTS dropped the role PUBLIC, which was wrong. Fixed.
</li><li>CASE was parsed as a function if the expression was in (). Fixed.
</li><li>When ORDER BY was used together with DISTINCT, it was required to type the column
name exactly in the select list and the order list exactly in the same way.
This is not required any longer.
</li>
</ul>
For future plans, see the new
''
Roadmap
''
page on the web site.
'
);
SELECT
'newsfeed-rss.xml'
FILE
,
XMLSTARTDOC
()
||
XMLNODE
(
'rss'
,
XMLATTR
(
'version'
,
'2.0'
),
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论