Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
3c754151
提交
3c754151
authored
5月 25, 2013
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Prepare release.
上级
d7275670
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
532 行增加
和
672 行删除
+532
-672
changelog.html
h2/src/docsrc/html/changelog.html
+7
-41
_docs_en.utf8.txt
h2/src/docsrc/text/_docs_en.utf8.txt
+174
-219
_docs_ja.utf8.txt
h2/src/docsrc/text/_docs_ja.utf8.txt
+174
-219
_docs_en.properties
h2/src/docsrc/textbase/_docs_en.properties
+168
-183
Constants.java
h2/src/main/org/h2/engine/Constants.java
+4
-4
newsfeed.sql
h2/src/test/org/h2/samples/newsfeed.sql
+1
-2
TestTransaction.java
h2/src/test/org/h2/test/db/TestTransaction.java
+3
-3
testScript.sql
h2/src/test/org/h2/test/testScript.sql
+1
-1
没有找到文件。
h2/src/docsrc/html/changelog.html
浏览文件 @
3c754151
...
...
@@ -18,6 +18,10 @@ Change Log
<h1>
Change Log
</h1>
<h2>
Next Version (unreleased)
</h2>
<ul><li>
-
</li></ul>
<h2>
Version 1.3.172 (2013-05-25)
</h2>
<ul><li>
Referential integrity: when adding a referential integrity constraint failed,
and if creating the constraint automatically created an index, this index was not removed.
</li><li>
The auto-analyze feature now only reads 1000 rows per table instead of 10000.
...
...
@@ -35,14 +39,14 @@ Change Log
</li><li>
Add new collation command SET BINARY_COLLATION UNSIGNED, helps with people testing BINARY columns in MySQL mode.
</li><li>
Issue 453: ABBA race conditions in TABLE LINK connection sharing.
</li><li>
Issue 449: Postgres Serial data type should not automatically be marked as primary key
</li><li>
Issue 406:
support "SELECT
h2version()"
</li><li>
Issue 406:
Support "select
h2version()"
</li><li>
Issue 389: When there is a multi-column primary key, H2 does not seem to always pick the right index
</li><li>
Issue 305: Implement SELECT ... FOR FETCH ONLY
</li><li>
Issue 274: Sybase/MSSQLServer compatibility - Add GETDATE and CHARINDEX system functions
</li><li>
Issue 274: Sybase/MSSQLServer compatibility - swap parameters of CONVERT function.
</li><li>
Issue 274: Sybase/MSSQLServer compatibility - support index clause e.g. "select * from test (index table1_index)"
</li><li>
Fix bug in
o
ptimizing SELECT * FROM A WHERE X=1 OR X=2 OR X=3 into SELECT * FROM A WHERE X IN (1,2,3)
</li><li>
Issue 442:
g
roovy patch for SourceCompiler (function ALIAS)
</li><li>
Fix bug in
O
ptimizing SELECT * FROM A WHERE X=1 OR X=2 OR X=3 into SELECT * FROM A WHERE X IN (1,2,3)
</li><li>
Issue 442:
G
roovy patch for SourceCompiler (function ALIAS)
</li><li>
Issue 459: Improve LOB documentation
</li></ul>
...
...
@@ -296,43 +300,5 @@ Change Log
(as required by the JDBC spec).
</li></ul>
<h2>
Version 1.3.162 (2011-11-26)
</h2>
<ul><li>
The following system properties are no longer supported:
<code>
h2.allowBigDecimalExtensions
</code>
,
<code>
h2.emptyPassword
</code>
,
<code>
h2.minColumnNameMap
</code>
,
<code>
h2.returnLobObjects
</code>
,
<code>
h2.webMaxValueLength
</code>
.
</li><li>
When using a VPN, starting a H2 server did not work (for some VPN software).
</li><li>
Oracle compatibility: support for DECODE(...).
</li><li>
Lucene fulltext search: creating an index is now faster if the table already contains data.
Thanks a lot to Angel Leon from the FrostWire Team for the patch!
</li><li>
Update statements with a column list in brackets did not work if the list only contains one column.
Example: update test set (id)=(id).
</li><li>
Read-only databases in a zip file did not work when using the -baseDir option.
</li><li>
Issue 334: SimpleResultSet.getString now also works for Clob columns.
</li><li>
Subqueries with an aggregate did not always work. Example:
select (select count(*) from test where a = t.a and b = 0) from test t group by a
</li><li>
Server: in some (theoretical) cases, exceptions while closing the connection were ignored.
</li><li>
Server.createTcpServer, createPgServer, createWebServer: invalid arguments are now detected.
</li><li>
The selectivity of LOB columns is no longer calculated
because indexes on LOB columns are not supported
(however this should have little effect on performance, as the selectivity
is calculated from the hash code and not the data).
</li><li>
New experimental system property "h2.modifyOnWrite":
when enabled, the database file is only modified when writing to the database.
When enabled, the serialized file lock is much faster for read-only operations.
</li><li>
A NullPointerException could occur in TableView.isDeterministic for invalid views.
</li><li>
Issue 180: when deserializing objects, the context class loader is used
instead of the default class loader if the system property "h2.useThreadContextClassLoader" is set.
Thanks a lot to Noah Fontes for the patch!
</li><li>
When using the exclusive mode, LOB operations could cause the thread to block.
This also affected the CreateCluster tool (when using BLOB or CLOB data).
</li><li>
The optimization for "group by" was not working correctly if the group by column
was aliased in the select list.
</li><li>
Issue 326: improved support for case sensitive (mixed case) identifiers
without quotes when using DATABASE_TO_UPPER=FALSE.
</li></ul>
<!-- [close] { -->
</div></td></tr></table>
<!-- } --><!-- analytics -->
</body></html>
h2/src/docsrc/text/_docs_en.utf8.txt
浏览文件 @
3c754151
差异被折叠。
点击展开。
h2/src/docsrc/text/_docs_ja.utf8.txt
浏览文件 @
3c754151
差异被折叠。
点击展开。
h2/src/docsrc/textbase/_docs_en.properties
浏览文件 @
3c754151
差异被折叠。
点击展开。
h2/src/main/org/h2/engine/Constants.java
浏览文件 @
3c754151
...
...
@@ -17,22 +17,22 @@ public class Constants {
/**
* The build date is updated for each public release.
*/
public
static
final
String
BUILD_DATE
=
"2013-0
3-17
"
;
public
static
final
String
BUILD_DATE
=
"2013-0
5-25
"
;
/**
* The build date is updated for each public release.
*/
public
static
final
String
BUILD_DATE_STABLE
=
"201
2-11-30
"
;
public
static
final
String
BUILD_DATE_STABLE
=
"201
3-03-17
"
;
/**
* The build id is incremented for each public release.
*/
public
static
final
int
BUILD_ID
=
17
1
;
public
static
final
int
BUILD_ID
=
17
2
;
/**
* The build id of the last stable release.
*/
public
static
final
int
BUILD_ID_STABLE
=
17
0
;
public
static
final
int
BUILD_ID_STABLE
=
17
1
;
/**
* If H2 is compiled to be included in a product, this should be set to
...
...
h2/src/test/org/h2/samples/newsfeed.sql
浏览文件 @
3c754151
...
...
@@ -7,6 +7,7 @@
CREATE
TABLE
VERSION
(
ID
INT
PRIMARY
KEY
,
VERSION
VARCHAR
,
CREATED
VARCHAR
);
INSERT
INTO
VERSION
VALUES
(
122
,
'1.3.171'
,
'2013-05-25'
),
(
121
,
'1.3.171'
,
'2013-03-17'
),
(
120
,
'1.3.170'
,
'2012-11-30'
),
(
119
,
'1.3.169'
,
'2012-09-09'
),
...
...
@@ -20,8 +21,6 @@ INSERT INTO VERSION VALUES
(
111
,
'1.3.161'
,
'2011-10-28'
),
(
110
,
'1.3.160'
,
'2011-09-11'
),
(
109
,
'1.3.159'
,
'2011-08-13'
),
(
108
,
'1.3.158'
,
'2011-07-17'
),
(
107
,
'1.3.157'
,
'2011-06-25'
),
;
CREATE
TABLE
CHANNEL
(
TITLE
VARCHAR
,
LINK
VARCHAR
,
DESC
VARCHAR
,
...
...
h2/src/test/org/h2/test/db/TestTransaction.java
浏览文件 @
3c754151
...
...
@@ -36,7 +36,7 @@ public class TestTransaction extends TestBase {
@Override
public
void
test
()
throws
SQLException
{
testContraintCreationRollback
();
testCon
s
traintCreationRollback
();
testCommitOnAutoCommitChange
();
testConcurrentSelectForUpdate
();
testLogMode
();
...
...
@@ -49,8 +49,8 @@ public class TestTransaction extends TestBase {
testIsolation
();
deleteDb
(
"transaction"
);
}
private
void
testContraintCreationRollback
()
throws
SQLException
{
private
void
testCon
s
traintCreationRollback
()
throws
SQLException
{
deleteDb
(
"transaction"
);
Connection
conn
=
getConnection
(
"transaction"
);
Statement
stat
=
conn
.
createStatement
();
...
...
h2/src/test/org/h2/test/testScript.sql
浏览文件 @
3c754151
...
...
@@ -2,7 +2,7 @@
-- Version 1.0, and under the Eclipse Public License, Version 1.0
-- (http://h2database.com/html/license.html).
-- Initial Developer: H2 Group
--
--- special grammar and test cases ---------------------------------------------------------------------------------------------
select
*
from
dual
where
x
=
x
+
1
or
x
in
(
2
,
0
);
>
X
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论