Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
00799d6d
提交
00799d6d
authored
7月 17, 2011
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Prepare release.
上级
825f08f6
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
7 行增加
和
79 行删除
+7
-79
changelog.html
h2/src/docsrc/html/changelog.html
+4
-75
Constants.java
h2/src/main/org/h2/engine/Constants.java
+2
-2
newsfeed.sql
h2/src/test/org/h2/samples/newsfeed.sql
+1
-2
没有找到文件。
h2/src/docsrc/html/changelog.html
浏览文件 @
00799d6d
...
...
@@ -18,6 +18,10 @@ Change Log
<h1>
Change Log
</h1>
<h2>
Next Version (unreleased)
</h2>
<ul><li>
-
</li></ul>
<h2>
Version 1.3.158 (2011-07-17)
</h2>
<ul><li>
Fulltext search (native): after re-opening the connection once the fulltext index was created,
a transaction rollback did not roll back the modifications in the index.
</li><li>
Support for ROW_NUMBER() OVER() as an alias for ROWNUM()
...
...
@@ -813,80 +817,5 @@ Change Log
</li><li>
The automatic upgrade temporary script file is now encrypted.
</li></ul>
<h2>
Version 1.2.139 (2010-07-10)
</h2>
<ul><li>
There was a bug in the internal IntIntHashMap. There were no known side effects however.
</li><li>
ANALYZE now uses less memory.
</li><li>
Memory mapped file system: improved error messages if there is a problem.
</li><li>
The Lucene fulltext search did not work well
when using special file systems such as split or nioMapped.
</li><li>
The memory mapped file system (nioMapped: file prefix) couldn't seek past the file length.
</li><li>
Some file system operations did not work with stacked file systems
(for example split and nioMapped). This also affected the DeleteDbFiles tool.
</li><li>
New experimental query cache.
The cache is only used if the SQL statement and all parameters match.
Each session has it's own cache with the given size.
Only the last returned result per query is cached.
Only SELECT statements are cached (excluding UNION and FOR UPDATE statements).
This works for both statements and prepared statement.
To enable, set the system property h2.commandCacheSize to a value larger than 0.
There is currently no plan to enable this option by default in future versions.
</li><li>
Conditions with many OR operations could throw an UnsupportedOperationException if
h2.optimizeOr was enabled.
</li><li>
XA connection: after transaction commit or rollback,
the physical connection is set into autocommit mode.
</li><li>
MULTI_THREADED did not work correctly and could throw the exception
"try to add a record twice" for larger databases because cache access was not correctly synchronized.
</li><li>
Automatic database upgrade from non page store is now possible. If the
classes from the h2mig_pagestore_addon.jar file are in the classpath, the database will be converted to the current
page store format automatically. The file can be found here:
<a
href=
"http://h2database.com/h2mig_pagestore_addon.jar"
>
http://h2database.com/h2mig_pagestore_addon.jar
</a>
</li><li>
The MultiDimension tools was extended with a few helper methods.
The API was unified a bit.
</li><li>
ODBC: MS Access could not link to a table with unique index or primary key.
To solve this problem, index meta data is currently disabled for ODBC.
When using the new H2 version to access a database over ODBC, the PostgreSQL catalog
is automatically upgraded. Using a database with an upgraded PostgreSQL catalog
with an older version of H2 is still possible, but not over ODBC.
</li><li>
ODBC: MS Access could not link to a table with a name containing '_'.
</li><li>
ODBC: additional connection settings can now be added to the database name.
Example: ~/test;cipher=xtea. Therefore, encrypted databases are supported.
</li><li>
Local temporary tables can now be created without having to commit a transaction
using CREATE LOCAL TEMPORARY TABLE TEMP(ID INT PRIMARY KEY) TRANSACTIONAL.
</li><li>
New system property h2.dropRestrict (default false) to change the
default action for DROP TABLE and DROP VIEW (false for CASCADE, true for RESTRICT).
The plan is to enable this property by default in version 1.3.x.
</li><li>
DROP TABLE now also supports CASCADE (still the default) and RESTRICT.
</li><li>
The wrong exception was thrown when trying to connect to a server if the server was not running.
</li><li>
UNION queries where the first query contains a nested query were parsed incorrectly.
Example: "select 1 from (select 2 from dual) union select 3 from dual" was parsed as
"select 1 from ((select 2 from dual) union select 3 from dual)". Fixed.
</li><li>
Support ALTER SCHEMA name RENAME TO newName (rename schema). (patch from Kerry Sainsbury)
</li></ul>
<h2>
Version 1.2.138 (2010-06-27)
</h2>
<ul><li>
Referential integrity: it was not allowed to delete a row with NULL in the parent table,
if there was a row with NULL in the child table.
</li><li>
Experimental feature to support case sensitive catalog names
and database names using the DATABASE() method.
To use this feature, set the system property h2.databaseToUpper to false.
The plan is to set the property to false by default in version 1.3.x.
Issue 204 - thanks to Sylvain Cuaz (ILM Informatique) for the patch.
</li><li>
Experimental feature to support nested joins.
To enable, set the system property h2.nestedJoins to true.
If enabled, nested joins and right outer joins should work as expected (issues 145, 177, and 203).
The plan is to enable this feature by default in version 1.3.x.
</li><li>
New sample application: CachedPreparedStatements.
</li><li>
When creating functions within a schema, those functions could not be used
in views, nested queries, and constraints. Fixed.
</li><li>
The benchmarks have been run using recent database versions.
</li><li>
Version 1.2.137 could still not be converted to Java 1.4
(because the Retrotranslator doesn't support BigDecimal.precision).
</li><li>
Cluster: non-admin users could not connect when one of the cluster node was stopped. Issue 206.
</li><li>
DROP VIEW now supports the CASCADE and RESTRICT clauses (patch from Kerry Sainsbury)
</li><li>
CREATE VIEW now supports the OR REPLACE clause (patch from Kerry Sainsbury)
</li><li>
Build tool: ability to only run one test using the -Dtest=className setting.
eg: build -Dtest=org.h2.test.db.TestViewDropView test (patch from Kerry Sainsbury).
</li></ul>
<!-- [close] { -->
</div></td></tr></table>
<!-- } --><!-- analytics -->
</body></html>
h2/src/main/org/h2/engine/Constants.java
浏览文件 @
00799d6d
...
...
@@ -16,7 +16,7 @@ public class Constants {
/**
* The build date is updated for each public release.
*/
public
static
final
String
BUILD_DATE
=
"2011-0
6-25
"
;
public
static
final
String
BUILD_DATE
=
"2011-0
7-17
"
;
/**
* The build date is updated for each public release.
...
...
@@ -26,7 +26,7 @@ public class Constants {
/**
* The build id is incremented for each public release.
*/
public
static
final
int
BUILD_ID
=
15
7
;
public
static
final
int
BUILD_ID
=
15
8
;
/**
* The build id of the last stable release.
...
...
h2/src/test/org/h2/samples/newsfeed.sql
浏览文件 @
00799d6d
...
...
@@ -7,6 +7,7 @@
CREATE
TABLE
VERSION
(
ID
INT
PRIMARY
KEY
,
VERSION
VARCHAR
,
CREATED
VARCHAR
);
INSERT
INTO
VERSION
VALUES
(
108
,
'1.3.158'
,
'2011-07-17'
),
(
107
,
'1.3.157'
,
'2011-06-25'
),
(
106
,
'1.3.156'
,
'2011-06-17'
),
(
105
,
'1.3.155'
,
'2011-05-27'
),
...
...
@@ -28,8 +29,6 @@ INSERT INTO VERSION VALUES
(
89
,
'1.2.139'
,
'2010-07-10'
),
(
88
,
'1.2.138'
,
'2010-06-27'
),
(
87
,
'1.2.137'
,
'2010-06-06'
),
(
86
,
'1.2.136'
,
'2010-05-24'
),
(
85
,
'1.2.135'
,
'2010-05-08'
),
;
CREATE
TABLE
CHANNEL
(
TITLE
VARCHAR
,
LINK
VARCHAR
,
DESC
VARCHAR
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论