Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
970c2d36
提交
970c2d36
authored
10月 19, 2013
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Prepare release.
上级
9164f30d
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
629 行增加
和
817 行删除
+629
-817
changelog.html
h2/src/docsrc/html/changelog.html
+4
-44
_docs_en.utf8.txt
h2/src/docsrc/text/_docs_en.utf8.txt
+207
-270
_docs_ja.utf8.txt
h2/src/docsrc/text/_docs_ja.utf8.txt
+207
-270
_docs_en.properties
h2/src/docsrc/textbase/_docs_en.properties
+204
-225
Constants.java
h2/src/main/org/h2/engine/Constants.java
+4
-4
MVStore.java
h2/src/main/org/h2/mvstore/MVStore.java
+1
-1
newsfeed.sql
h2/src/test/org/h2/samples/newsfeed.sql
+1
-2
TestConcurrent.java
h2/src/test/org/h2/test/store/TestConcurrent.java
+1
-1
没有找到文件。
h2/src/docsrc/html/changelog.html
浏览文件 @
970c2d36
...
...
@@ -18,6 +18,10 @@ Change Log
<h1>
Change Log
</h1>
<h2>
Next Version (unreleased)
</h2>
<ul><li>
-
</li></ul>
<h2>
Version 1.3.174 (2013-10-19)
</h2>
<ul><li>
LIRS cache: bugfix for caches that only contain non-resident entries.
</li><li>
For in-memory databases, queries with a "group by" column that
is also a hash index threw a RuntimeException.
...
...
@@ -338,49 +342,5 @@ Change Log
</li><li>
The SCRIPT statements now supports filtering by schema and table. Thanks a lot to Jacob Qvortrup for providing the patch!
</li></ul>
<h2>
Version 1.3.166 (2012-04-08)
</h2>
<ul><li>
Indexes on column that are larger than half the page size (wide indexes)
could sometimes get corrupt, resulting in an ArrayIndexOutOfBoundsException in PageBtree.getRow
or "Row not found" in PageBtreeLeaf. Also, such indexes used too much disk space.
</li><li>
Server mode: when retrieving more than 64 rows each containing a CLOB or BLOB,
the error message "The object is already closed" was thrown.
</li><li>
ConvertTraceFile: the time in the trace file is now parsed as a long.
</li><li>
Invalid connection settings are now detected.
</li><li>
Issue 387: WHERE condition getting pushed into sub-query with LIMIT.
</li></ul>
<h2>
Version 1.3.165 (2012-03-18)
</h2>
<ul><li>
Better string representation for decimal values (for example 0.00000000 instead of 0E-26).
</li><li>
Prepared statements could only be re-used if the same data types were used
the second time they were executed.
</li><li>
In error messages about referential constraint violation, the values are now included.
</li><li>
SCRIPT and RUNSCRIPT: the password can now be set using a prepared statement.
Previously, it was required to be a literal in the SQL statement.
</li><li>
MySQL compatibility: SUBSTR with a negative start index now works like MySQL.
</li><li>
When enabling autocommit, the transaction is now committed (as required by the JDBC API).
</li><li>
The shell script
<code>
h2.sh
</code>
did not work with spaces in the path.
It also works now with quoted spaces in the argument list.
Thanks a lot to Shimizu Fumiyuki for the patch!
</li><li>
If the transaction log could not be truncated because of an uncommitted transaction,
now "Transaction log could not be truncated" is written to the .trace.db file.
Before, the database file was growing and it was hard to find out what the root cause was.
To avoid the database file from growing, a new feature to automatically rollback the oldest
transaction is available now. To enable it, append ;LOG_SIZE_LIMIT=32 to the database URL
(in that case, the oldest session is rolled back if the transaction log is 32 MB).
</li><li>
ALTER TABLE ADD can now add more than one column at a time.
</li><li>
Issue 380: ALTER TABLE ADD FOREIGN KEY with an explicit index didn't verify
the index can be used, which would lead to a NullPointerException later on.
</li><li>
Issue 384: the wrong kind of exception (NullPointerException) was thrown in a UNION query
with an incorrect ORDER BY expression.
</li><li>
Issue 362: support LIMIT in UPDATE statements.
</li><li>
Browser: if no default browser is set, Google Chrome is now used if available.
If not available, then Konqueror, Netscape, or Opera is used if available (as before).
</li><li>
CSV tool: new feature to disable writing the column header
(option writeColumnHeader).
</li><li>
CSV tool: new feature to preserve the case sensitivity of column names
(option caseSensitiveColumnNames).
</li><li>
PostgreSQL compatibility: LOG(x) is base 10 in the PostgreSQL mode.
</li></ul>
<!-- [close] { -->
</div></td></tr></table>
<!-- } --><!-- analytics -->
</body></html>
h2/src/docsrc/text/_docs_en.utf8.txt
浏览文件 @
970c2d36
差异被折叠。
点击展开。
h2/src/docsrc/text/_docs_ja.utf8.txt
浏览文件 @
970c2d36
差异被折叠。
点击展开。
h2/src/docsrc/textbase/_docs_en.properties
浏览文件 @
970c2d36
差异被折叠。
点击展开。
h2/src/main/org/h2/engine/Constants.java
浏览文件 @
970c2d36
...
...
@@ -17,22 +17,22 @@ public class Constants {
/**
* The build date is updated for each public release.
*/
public
static
final
String
BUILD_DATE
=
"2013-
07-28
"
;
public
static
final
String
BUILD_DATE
=
"2013-
10-19
"
;
/**
* The build date is updated for each public release.
*/
public
static
final
String
BUILD_DATE_STABLE
=
"2013-0
5-25
"
;
public
static
final
String
BUILD_DATE_STABLE
=
"2013-0
7-28
"
;
/**
* The build id is incremented for each public release.
*/
public
static
final
int
BUILD_ID
=
17
3
;
public
static
final
int
BUILD_ID
=
17
4
;
/**
* The build id of the last stable release.
*/
public
static
final
int
BUILD_ID_STABLE
=
17
2
;
public
static
final
int
BUILD_ID_STABLE
=
17
3
;
/**
* If H2 is compiled to be included in a product, this should be set to
...
...
h2/src/main/org/h2/mvstore/MVStore.java
浏览文件 @
970c2d36
...
...
@@ -169,7 +169,7 @@ public class MVStore {
* is the unsaved version, the value is the map of chunks. The maps contains
* the number of freed entries per chunk. Access is synchronized.
*/
private
final
ConcurrentHashMap
<
Long
,
HashMap
<
Integer
,
Chunk
>>
freedPageSpace
=
private
final
ConcurrentHashMap
<
Long
,
HashMap
<
Integer
,
Chunk
>>
freedPageSpace
=
new
ConcurrentHashMap
<
Long
,
HashMap
<
Integer
,
Chunk
>>();
/**
...
...
h2/src/test/org/h2/samples/newsfeed.sql
浏览文件 @
970c2d36
...
...
@@ -7,6 +7,7 @@
CREATE
TABLE
VERSION
(
ID
INT
PRIMARY
KEY
,
VERSION
VARCHAR
,
CREATED
VARCHAR
);
INSERT
INTO
VERSION
VALUES
(
124
,
'1.3.174'
,
'2013-10-19'
),
(
123
,
'1.3.173'
,
'2013-07-28'
),
(
122
,
'1.3.172'
,
'2013-05-25'
),
(
121
,
'1.3.171'
,
'2013-03-17'
),
...
...
@@ -18,8 +19,6 @@ INSERT INTO VERSION VALUES
(
115
,
'1.3.165'
,
'2012-03-18'
),
(
114
,
'1.3.164'
,
'2012-01-03'
),
(
113
,
'1.3.163'
,
'2011-12-30'
),
(
112
,
'1.3.162'
,
'2011-11-26'
),
(
111
,
'1.3.161'
,
'2011-10-28'
),
;
CREATE
TABLE
CHANNEL
(
TITLE
VARCHAR
,
LINK
VARCHAR
,
DESC
VARCHAR
,
...
...
h2/src/test/org/h2/test/store/TestConcurrent.java
浏览文件 @
970c2d36
...
...
@@ -52,7 +52,7 @@ public class TestConcurrent extends TestMVStore {
testConcurrentWrite
();
testConcurrentRead
();
}
private
void
testConcurrentStoreAndRemoveMap
()
throws
InterruptedException
{
String
fileName
=
getBaseDir
()
+
"/testConcurrentStoreAndRemoveMap.h3"
;
final
MVStore
s
=
openStore
(
fileName
);
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论