Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
febe5a06
提交
febe5a06
authored
11月 14, 2007
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
--no commit message
--no commit message
上级
5a549151
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
30 行增加
和
41 行删除
+30
-41
_docs_en.properties
h2/src/docsrc/textbase/_docs_en.properties
+2
-2
Constants.java
h2/src/main/org/h2/engine/Constants.java
+1
-1
newsfeed.sql
h2/src/test/org/h2/samples/newsfeed.sql
+27
-38
没有找到文件。
h2/src/docsrc/textbase/_docs_en.properties
浏览文件 @
febe5a06
...
@@ -375,7 +375,7 @@ build_1024_h3=Using Snapshot Version
...
@@ -375,7 +375,7 @@ build_1024_h3=Using Snapshot Version
build_1025_p
=
To build a 'snapshot' H2 .jar file and upload it the to the local Maven 2 repository, execute the following command
\:
build_1025_p
=
To build a 'snapshot' H2 .jar file and upload it the to the local Maven 2 repository, execute the following command
\:
build_1026_p=Afterwards, you can include the database in your Maven 2 project as a dependency
\:
build_1026_p=Afterwards, you can include the database in your Maven 2 project as a dependency
\:
download_1000_h1=Downloads
download_1000_h1=Downloads
download_1001_h3
=
Version 1.0.61 (2007-11-
09
, Current)
download_1001_h3
=
Version 1.0.61 (2007-11-
10
, Current)
download_1002_a
=
Windows Installer
download_1002_a
=
Windows Installer
download_1003_a
=
Platform-Independent Zip
download_1003_a
=
Platform-Independent Zip
download_1004_h3
=
Download Mirror
download_1004_h3
=
Download Mirror
...
@@ -1039,7 +1039,7 @@ mainWeb_1003_li=Written Java; can be compiled with GCJ (Linux)
...
@@ -1039,7 +1039,7 @@ mainWeb_1003_li=Written Java; can be compiled with GCJ (Linux)
mainWeb_1004_li
=
Embedded, Server and Cluster modes
mainWeb_1004_li
=
Embedded, Server and Cluster modes
mainWeb_1005_li
=
JDBC and (partial) ODBC API; Web Client application
mainWeb_1005_li
=
JDBC and (partial) ODBC API; Web Client application
mainWeb_1006_h3
=
Download
mainWeb_1006_h3
=
Download
mainWeb_1007_td
=
Version 1.0.61 (2007-11-
09
)
\:
mainWeb_1007_td
=
Version 1.0.61 (2007-11-
10
)
\:
mainWeb_1008_a=Windows Installer (2.8 MB)
mainWeb_1008_a=Windows Installer (2.8 MB)
mainWeb_1009_a
=
All platforms (zip, 3.9 MB)
mainWeb_1009_a
=
All platforms (zip, 3.9 MB)
mainWeb_1010_a
=
All Downloads
mainWeb_1010_a
=
All Downloads
...
...
h2/src/main/org/h2/engine/Constants.java
浏览文件 @
febe5a06
...
@@ -72,7 +72,7 @@ import org.h2.constant.SysProperties;
...
@@ -72,7 +72,7 @@ import org.h2.constant.SysProperties;
public
class
Constants
{
public
class
Constants
{
public
static
final
int
BUILD_ID
=
61
;
public
static
final
int
BUILD_ID
=
61
;
private
static
final
String
BUILD
=
"2007-11-
09
"
;
private
static
final
String
BUILD
=
"2007-11-
10
"
;
public
static
final
int
VERSION_MAJOR
=
1
;
public
static
final
int
VERSION_MAJOR
=
1
;
public
static
final
int
VERSION_MINOR
=
0
;
public
static
final
int
VERSION_MINOR
=
0
;
...
...
h2/src/test/org/h2/samples/newsfeed.sql
浏览文件 @
febe5a06
...
@@ -10,6 +10,33 @@ INSERT INTO CHANNEL VALUES('H2 Database Engine' ,
...
@@ -10,6 +10,33 @@ 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
(
31
,
'New version available: 1.0.61 (2007-11-10)'
,
'2007-11-10 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>Read-only databases in zip (or jar) files are now supported: jdbc:h2:zip:c:/temp/db.zip!/test
</li><li>File access is now done using an extensible API. Additional file systems are easy to implement.
</li><li>Descending indexes are supported.
</li><li>The Lucene fulltext search is included in the h2.jar.
</li><li>MODE is now a database level setting (not global).
</li><li>Vlad Alexahin has translated H2 Console to Russian. Thanks a lot!
</li><li>INSTR, LOCATE: backward searching is now supported by using a negative start position.
</li><li>CREATE SEQUENCE: New option CACHE (number of pre-allocated numbers).
</li><li>Converting decimal to integer now rounds like MySQL and PostgreSQL.
</li><li>Math operations using only parameters are now interpreted as decimal.
</li><li>MVCC: The system property h2.mvcc has been removed.
</li></ul>
<b>Bugfixes:</b>
<ul><li>ResultSetMetaData.getColumnDisplaySize is now calculated correctly.
</li><li>A few MVCC bugs have been fixed.
</li><li>The code coverage is now at 83%.
</li></ul>
For future plans, see the
''
Roadmap
''
page at
http://groups.google.com/group/h2-database/web/roadmap
'
);
INSERT
INTO
ITEM
VALUES
(
30
,
INSERT
INTO
ITEM
VALUES
(
30
,
'New version available: 1.0.60 (2007-10-20)'
,
'2007-10-20 12:00:00'
,
'New version available: 1.0.60 (2007-10-20)'
,
'2007-10-20 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>.
...
@@ -372,44 +399,6 @@ INSERT INTO ITEM VALUES(23,
...
@@ -372,44 +399,6 @@ INSERT INTO ITEM VALUES(23,
For future plans, see the new
''
Roadmap
''
page on the web site.
For future plans, see the new
''
Roadmap
''
page on the web site.
'
);
'
);
INSERT
INTO
ITEM
VALUES
(
22
,
'New version available: 1.0 / 2007-03-04'
,
'2007-03-04 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>System sequences (automatically created sequences for IDENTITY or AUTO_INCREMENT columns) are now
random (UUIDs) to avoid clashes when merging databases using RUNSCRIPT.
</li><li>Now the server tool (org.h2.tools.Server) terminates with an exit code if a problem occured.
</li><li>The JDBC driver is now loaded if the JdbcDataSource class is loaded.
</li><li>After renaming a user the password becomes invalid. This is now documented.
</li><li>Truncating a table is now allowed if the table references another table
(but still not allowed if the table is references by another table).
</li>
</ul>
<b>Bugfixes:</b>
<ul>
<li>The precision for linked tables was not correct for some data types, for example VARCHAR. Fixed.
</li><li>Many problems and bugs in the XA support (package javax.sql) have been fixed.
</li><li>ORDER BY picked the wrong column if the same column name (but with a different table name)
was used twice in the select list.
</li><li>When a subquery was used in the select list of a query, and GROUP BY was used at the same time,
a NullPointerException could occur. Fixed.
</li><li>ORDER BY did not work when DISTINCT was used at the same time in some situations. Fixed.
</li><li>When using IN(...) on a case insensitive column (VARCHAR_IGNORECASE),
an incorrect optimization was made and the result was wrong sometimes.
</li><li>XAResource.recover didn
''
t work. Fixed.
</li><li>XAResource.recover did throw an exception with the code XAER_OUTSIDE if there
was no connection. Now the code is XAER_RMERR.
</li><li>SCRIPT did not work correctly with BLOB or CLOB data. Fixed.
</li><li>BACKUP TO
''
test.zip
''
now works with encrypted databases and CLOB and BLOB data.
</li><li>The function CASE WHEN ... didn
''
t convert the returned value to the same data type,
resulting in unexpected behavior in many cases. Fixed.
</li>
</ul>
For future plans, see the new
''
Roadmap
''
page on the web site.
'
);
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
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论