Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
2b8fa367
提交
2b8fa367
authored
2月 22, 2019
作者:
thomasmueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Prepare release
上级
eaf1080a
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
18 行增加
和
207 行删除
+18
-207
changelog.html
h2/src/docsrc/html/changelog.html
+6
-194
release.txt
h2/src/installer/release.txt
+3
-4
Constants.java
h2/src/main/org/h2/engine/Constants.java
+5
-5
newsfeed.sql
h2/src/test/org/h2/samples/newsfeed.sql
+4
-4
没有找到文件。
h2/src/docsrc/html/changelog.html
浏览文件 @
2b8fa367
...
...
@@ -21,6 +21,12 @@ Change Log
<h2>
Next Version (unreleased)
</h2>
<ul>
<li>
-
</li>
</ul>
<h2>
Version 1.4.198 (2019-02-22)
</h2>
<ul>
<li>
Issue #1739: Table and view names not case sensitive when using DATABASE_TO_UPPER=FALSE
</li>
<li>
Issue #848: H2 PostgreSQL Compatibility Mode: lowercase metadata
...
...
@@ -1479,198 +1485,4 @@ changed from Types.OTHER (1111) to Types.TIMESTAMP_WITH_TIMEZONE (2014)
</li>
</ul>
<h2>
Version 1.4.193 (2016-10-31)
</h2>
<ul>
<li>
PR #386: Add JSR-310 Support (introduces JTS dependency fixed in 1.4.194)
</li>
<li>
WARNING: THE MERGE BELOW WILL AFFECT ANY 'TIMESTAMP WITH TIMEZONE' INDEXES. You will need to drop and recreate any such indexes.
</li>
<li>
PR #364: fix compare TIMESTAMP WITH TIMEZONE
</li>
<li>
Fix bug in picking the right index for INSERT..ON DUPLICATE KEY UPDATE when there are both UNIQUE and PRIMARY KEY constraints.
</li>
<li>
Issue #380: Error Analyzer doesn't show source code
</li>
<li>
Remove the "TIMESTAMP UTC" datatype, an experiment that was never finished.
</li>
<li>
PR #363: Added support to define last IDENTIFIER on a Trigger.
</li>
<li>
PR #366: Tests for timestamps
</li>
<li>
PR #361: Improve TimestampWithTimeZone javadoc
</li>
<li>
PR #360: Change getters in TimestampWithTimeZone to int
</li>
<li>
PR #359: Added missing source encoding. Assuming UTF-8.
</li>
<li>
PR #353: Add support for converting JAVA_OBJECT to UUID
</li>
<li>
PR #358: Add support for getObject(int|String, Class)
</li>
<li>
PR #357: Server: use xdg-open to open the WebConsole in the user's preferred browser on Linux
</li>
<li>
PR #356: Support for BEFORE and AFTER clauses when using multiple columns in ALTER TABLE ADD
</li>
<li>
PR #351: Respect format codes from Bind message when sending results
</li>
<li>
ignore summary line when compiling stored procedure
</li>
<li>
PR #348: pg: send RowDescription in response to Describe (statement variant), patch by kostya-sh
</li>
<li>
PR #337: Update russian translation, patch by avp1983
</li>
<li>
PR #329: Update to servlet API version 3.1.0 from 3.0.1, patch by Mat Booth
</li>
<li>
PR #331: ChangeFileEncryption progress logging ignores -quiet flag, patch by Stefan Bodewig
</li>
<li>
PR #325: Make Row an interface
</li>
<li>
PR #323: Regular expression functions (REGEXP_REPLACE, REGEXP_LIKE) enhancement, patch by Akkuzin
</li>
<li>
Use System.nanoTime for measuring query statistics
</li>
<li>
Issue #324: Deadlock when sending BLOBs over TCP
</li>
<li>
Fix for creating and accessing views in MULTITHREADED mode, test-case courtesy of Daniel Rosenbaum
</li>
<li>
Issue #266: Spatial index not updating, fixed by merging PR #267
</li>
<li>
PR #302: add support for "with"-subqueries into "join"
&
"sub-query" statements
</li>
<li>
Issue #299: Nested derived tables did not always work as expected.
</li>
<li>
Use interfaces to replace the java version templating, idea from Lukas Eder.
</li>
<li>
Issue #295: JdbcResultSet.getObject(int, Class) returns null instead of throwing.
</li>
<li>
Mac OS X: Console tool process did not stop on exit.
</li>
<li>
MVStoreTool: add "repair" feature.
</li>
<li>
Garbage collection of unused chunks should be faster still.
</li>
<li>
MVStore / transaction store: opening a store in read-only mode does no longer loop.
</li>
<li>
MVStore: disabled the file system cache by default, because it limits concurrency
when using larger databases and many threads.
To re-enable, use the file name prefix "cache:".
</li>
<li>
MVStore: add feature to set the cache concurrency.
</li>
<li>
File system nioMemFS: support concurrent reads.
</li>
<li>
File systems: the compressed in-memory file systems now compress better.
</li>
<li>
LIRS cache: improved hit rate because now added entries get hot if they
were in the non-resident part of the cache before.
</li>
</ul>
<h2>
Version 1.4.192 Beta (2016-05-26)
</h2>
<ul>
<li>
Java 6 is no longer supported (the jar files are compiled for Java 7).
</li>
<li>
Garbage collection of unused chunks should now be faster.
</li>
<li>
Prevent people using unsupported combination of auto-increment columns and clustering mode.
</li>
<li>
Support for DB2 time format, patch by Niklas Mehner
</li>
<li>
Added support for Connection.setClientInfo() in compatibility modes for DB2, Postgresql, Oracle and MySQL.
</li>
<li>
Issue #249: Clarify license declaration in Maven POM xml
</li>
<li>
Fix NullPointerException in querying spatial data through a sub-select.
</li>
<li>
Fix bug where a lock on the SYS table was not released when closing a session that contained a temp
table with an LOB column.
</li>
<li>
Issue #255: ConcurrentModificationException with multiple threads in embedded mode and temporary LOBs
</li>
<li>
Issue #235: Anonymous SSL connections fail in many situations
</li>
<li>
Fix race condition in FILE_LOCK=SOCKET, which could result in the watchdog thread not running
</li>
<li>
Experimental support for datatype TIMESTAMP WITH TIMEZONE
</li>
<li>
Add support for ALTER TABLE ... RENAME CONSTRAINT .. TO ...
</li>
<li>
Add support for PostgreSQL ALTER TABLE ... RENAME COLUMN .. TO ...
</li>
<li>
Add support for ALTER SCHEMA [ IF EXISTS ]
</li>
<li>
Add support for ALTER TABLE [ IF EXISTS ]
</li>
<li>
Add support for ALTER VIEW [ IF EXISTS ]
</li>
<li>
Add support for ALTER INDEX [ IF EXISTS ]
</li>
<li>
Add support for ALTER SEQUENCE [ IF EXISTS ]
</li>
<li>
Improve performance of cleaning up temp tables - patch from Eric Faulhaber.
</li>
<li>
Fix bug where table locks were not dropped when the connection closed
</li>
<li>
Fix extra CPU usage caused by query planner enhancement in 1.4.191
</li>
<li>
improve performance of queries that use LIKE 'foo%' - 10x in the case of one of my queries
</li>
<li>
The function IFNULL did not always return the result in the right data type.
</li>
<li>
Issue #231: Possible infinite loop when initializing the ObjectDataType class
when concurrently writing into MVStore.
</li>
</ul>
<h2>
Version 1.4.191 Beta (2016-01-21)
</h2>
<ul>
<li>
TO_DATE and TO_TIMESTAMP functions. Thanks a lot to Sam Blume for the patch!
</li>
<li>
Issue #229: DATEDIFF does not work for 'WEEK'.
</li>
<li>
Issue #156: Add support for getGeneratedKeys() when executing commands via PreparedStatement#executeBatch.
</li>
<li>
Issue #195: The new Maven uses a .cmd file instead of a .bat file.
</li>
<li>
Issue #212: EXPLAIN PLAN for UPDATE statement did not display LIMIT expression.
</li>
<li>
Support OFFSET without LIMIT in SELECT.
</li>
<li>
Improve error message for METHOD_NOT_FOUND_1/90087.
</li>
<li>
CLOB and BLOB objects of removed rows were sometimes kept in the database file.
</li>
<li>
Server mode: executing "shutdown" left a thread on the server.
</li>
<li>
The condition "in(select...)" did not work correctly in some cases if the subquery had an "order by".
</li>
<li>
Issue #184: The Platform-independent zip had Windows line endings in Linux scripts.
</li>
<li>
Issue #186: The "script" command did not include sequences of temporary tables.
</li>
<li>
Issue #115: to_char fails with pattern FM0D099.
</li>
</ul>
<h2>
Version 1.4.190 Beta (2015-10-11)
</h2>
<ul>
<li>
Pull request #183: optimizer hints (so far without special SQL syntax).
</li>
<li>
Issue #180: In MVCC mode, executing UPDATE and SELECT ... FOR UPDATE
simultaneously silently can drop rows.
</li>
<li>
PageStore storage: the cooperative file locking mechanism
did not always work as expected (with very slow computers).
</li>
<li>
Temporary CLOB and BLOB objects are now removed while the database is open
(and not just when closing the database).
</li>
<li>
MVStore CLOB and BLOB larger than about 25 MB: An exception could be thrown
when using the MVStore storage.
</li>
<li>
Add FILE_WRITE function. Patch provided by Nicolas Fortin
(Lab-STICC - CNRS UMR 6285 and Ecole Centrale de Nantes)
</li>
</ul>
<!-- [close] { -->
</div></td></tr></table>
<!-- } --><!-- analytics -->
</body></html>
h2/src/installer/release.txt
浏览文件 @
2b8fa367
...
...
@@ -7,7 +7,7 @@
Do this until there are no errors.
Fix typos, add new words to dictionary.txt:
./build.sh spellcheck
./build.sh
clean compile
spellcheck
Add documentation for all public methods. Make methods private if possible:
...
...
@@ -55,9 +55,8 @@ Update org.h2.engine.Constants.java:
change the version and build number:
set BUILD_DATE to today
increment BUILD_ID
Update org.h2.value.Transfer.java:
if the last TCP_PROTOCOL_VERSION_## doesn't have a release date set it to current BUILD_DATE
if the last TCP_PROTOCOL_VERSION_##
doesn't have a release date set it to current BUILD_DATE
Update changelog.html:
* create a new "Next Version (unreleased)" with an empty list
...
...
h2/src/main/org/h2/engine/Constants.java
浏览文件 @
2b8fa367
...
...
@@ -15,22 +15,22 @@ public class Constants {
/**
* The build date is updated for each public release.
*/
public
static
final
String
BUILD_DATE
=
"201
8-03-18
"
;
public
static
final
String
BUILD_DATE
=
"201
9-02-22
"
;
/**
* The build date of the last stable release.
*/
public
static
final
String
BUILD_DATE_STABLE
=
"201
7-06-10
"
;
public
static
final
String
BUILD_DATE_STABLE
=
"201
8-03-18
"
;
/**
* The build id is incremented for each public release.
*/
public
static
final
int
BUILD_ID
=
19
7
;
public
static
final
int
BUILD_ID
=
19
8
;
/**
* The build id of the last stable release.
*/
public
static
final
int
BUILD_ID_STABLE
=
19
6
;
public
static
final
int
BUILD_ID_STABLE
=
19
7
;
/**
* Whether this is a snapshot version.
...
...
@@ -101,7 +101,7 @@ public class Constants {
/**
* The TCP protocol version number 18.
* @since 1.4.198 (
TODO
)
* @since 1.4.198 (
2019-02-22
)
*/
public
static
final
int
TCP_PROTOCOL_VERSION_18
=
18
;
...
...
h2/src/test/org/h2/samples/newsfeed.sql
浏览文件 @
2b8fa367
...
...
@@ -7,8 +7,9 @@
CREATE
TABLE
VERSION
(
ID
INT
PRIMARY
KEY
,
VERSION
VARCHAR
,
CREATED
VARCHAR
);
INSERT
INTO
VERSION
VALUES
(
147
,
'1.4.198'
,
'2018-03-18'
),
(
146
,
'1.4.197'
,
'2017-06-10'
),
(
148
,
'1.4.198'
,
'2019-02-22'
),
(
147
,
'1.4.197'
,
'2018-03-18'
),
(
146
,
'1.4.196'
,
'2017-06-10'
),
(
145
,
'1.4.195'
,
'2017-04-23'
),
(
144
,
'1.4.194'
,
'2017-03-10'
),
(
143
,
'1.4.193'
,
'2016-10-31'
),
...
...
@@ -22,8 +23,7 @@ INSERT INTO VERSION VALUES
(
135
,
'1.4.185'
,
'2015-01-16'
),
(
134
,
'1.4.184'
,
'2014-12-19'
),
(
133
,
'1.4.183'
,
'2014-12-13'
),
(
132
,
'1.4.182'
,
'2014-10-17'
),
(
131
,
'1.4.181'
,
'2014-08-06'
);
(
132
,
'1.4.182'
,
'2014-10-17'
);
CREATE
TABLE
CHANNEL
(
TITLE
VARCHAR
,
LINK
VARCHAR
,
DESC
VARCHAR
,
LANGUAGE
VARCHAR
,
PUB
TIMESTAMP
,
LAST
TIMESTAMP
,
AUTHOR
VARCHAR
);
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论