提交 b5c1a8e3 authored 作者: Thomas Mueller's avatar Thomas Mueller

Prepare release.

上级 a48f2916
...@@ -18,6 +18,10 @@ Change Log ...@@ -18,6 +18,10 @@ Change Log
<h1>Change Log</h1> <h1>Change Log</h1>
<h2>Next Version (unreleased)</h2> <h2>Next Version (unreleased)</h2>
<ul><li>-
</li></ul>
<h2>Version 1.2.130 (2010-02-26)</h2>
<ul><li>EXPLAIN: The query plan now contains ".tableScan" if a table scan is used. <ul><li>EXPLAIN: The query plan now contains ".tableScan" if a table scan is used.
</li><li>IN(..): when combining and IN(..) condition with a condition that didn't use an index, </li><li>IN(..): when combining and IN(..) condition with a condition that didn't use an index,
the result could contain duplicate rows. the result could contain duplicate rows.
...@@ -29,9 +33,9 @@ Change Log ...@@ -29,9 +33,9 @@ Change Log
</li><li>A tool to migrate an old database from the non-page store format to the </li><li>A tool to migrate an old database from the non-page store format to the
newest version has been added in src/tools/org/h2/dev/util/Migrate.java. This file is not newest version has been added in src/tools/org/h2/dev/util/Migrate.java. This file is not
included in the jar file currently. included in the jar file currently.
</li><li>When using temporary table, the database didn't shrink sometimes when closing. </li><li>When using temporary tables, the database didn't shrink sometimes when closing.
Also, sometimes a database could not recover normally. Also, sometimes a database could not recover normally.
</li><li>Large transactions could run out of heap space. Fixed. </li><li>Large transactions could run out of heap space. The maximum size of a transaction is now much larger.
</li><li>The default setting for the system property h2.webMaxValueLength is now 100000 (it was 10000 before). </li><li>The default setting for the system property h2.webMaxValueLength is now 100000 (it was 10000 before).
</li><li>Creating a database was delayed about 2 seconds if the directory didn't exist. </li><li>Creating a database was delayed about 2 seconds if the directory didn't exist.
</li><li>Implemented INIT feature. If the database URL contains ";INIT=...;" then the DDL or DML commands </li><li>Implemented INIT feature. If the database URL contains ";INIT=...;" then the DDL or DML commands
...@@ -614,24 +618,5 @@ Change Log ...@@ -614,24 +618,5 @@ Change Log
</li><li>NIO storage: the nio: prefix was using memory mapped files instead of FileChannel. </li><li>NIO storage: the nio: prefix was using memory mapped files instead of FileChannel.
</li></ul> </li></ul>
<h2>Version 1.1.109 (2009-03-14)</h2>
<ul><li>The optimization for IN(...) is now only used if comparing a column with an index.
</li><li>User defined functions can now be deterministic (see CREATE ALIAS documentation).
</li><li>Multiple nested queries in the FROM clause with parameters did not always work.
</li><li>When converting CLOB to BINARY, each character resulted in one byte.
Now, the text is parsed as a hex as when converting VARCHAR.
</li><li>New experimental NIO storage mechanism with both FileChannel and
memory mapped files. To use it, use the file name prefix nio: or nioMapped:
as in jdbc:h2:nio:~/test. So far it looks like NIO storage is faster on Mac OS
but slower on some Windows systems. Thanks a lot to Jan Kotek for the patch!
</li><li>The functions BITOR, BITAND, BITXOR, and MOD now accept
and return BIGINT instead of INT.
</li><li>Could not use the same linked table multiple times in the same query.
</li><li>Bugs in the server-less multi-connection mode have been fixed.
</li><li>Column names could not be named "UNIQUE" (with the quotes).
</li><li>New system function TRANSACTION_ID() to get the current transaction
identifier for a session.
</li></ul>
<!-- [close] { --></div></td></tr></table><!-- } --><!-- analytics --></body></html> <!-- [close] { --></div></td></tr></table><!-- } --><!-- analytics --></body></html>
...@@ -473,6 +473,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>. ...@@ -473,6 +473,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
</li><li>Use the Java service provider mechanism to register file systems and function libraries. </li><li>Use the Java service provider mechanism to register file systems and function libraries.
</li><li>Tree index: Instead of an AVL tree, use a general balanced trees or a scapegoat tree. </li><li>Tree index: Instead of an AVL tree, use a general balanced trees or a scapegoat tree.
</li><li>User defined functions: allow to store the bytecode (of just the class, or the jar file of the extension) in the database. </li><li>User defined functions: allow to store the bytecode (of just the class, or the jar file of the extension) in the database.
</li><li>Compatibility: ResultSet.getObject() on a CLOB (TEXT) should return String for PostgreSQL and MySQL.
</li></ul> </li></ul>
<h2>Not Planned</h2> <h2>Not Planned</h2>
......
...@@ -14,7 +14,7 @@ public class Constants { ...@@ -14,7 +14,7 @@ public class Constants {
/** /**
* The build id is incremented for each public release. * The build id is incremented for each public release.
*/ */
public static final int BUILD_ID = 129; public static final int BUILD_ID = 130;
/** /**
* The build id of the last stable release. * The build id of the last stable release.
...@@ -32,7 +32,7 @@ public class Constants { ...@@ -32,7 +32,7 @@ public class Constants {
/** /**
* The build date is updated for each public release. * The build date is updated for each public release.
*/ */
public static final String BUILD_DATE = "2010-02-19"; public static final String BUILD_DATE = "2010-02-26";
/** /**
* The build date is updated for each public release. * The build date is updated for each public release.
......
...@@ -684,7 +684,7 @@ public class PageLog { ...@@ -684,7 +684,7 @@ public class PageLog {
* @return the trunk page of the data page to keep * @return the trunk page of the data page to keep
*/ */
private int removeUntil(int trunkPage, int firstDataPageToKeep) { private int removeUntil(int trunkPage, int firstDataPageToKeep) {
trace.debug("log.removeUntil " + firstDataPageToKeep); trace.debug("log.removeUntil " + trunkPage + " " + firstDataPageToKeep);
while (true) { while (true) {
Page p = store.getPage(trunkPage); Page p = store.getPage(trunkPage);
PageStreamTrunk t = (PageStreamTrunk) p; PageStreamTrunk t = (PageStreamTrunk) p;
......
...@@ -13,6 +13,19 @@ INSERT INTO CHANNEL VALUES('H2 Database Engine' , ...@@ -13,6 +13,19 @@ 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(80,
'New version available: 1.2.130 (2010-02-26)', '2010-02-26 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 />
For details, see the
<a href="http://www.h2database.com/html/changelog.html">change log</a>.
<br />
For future plans, see the
<a href="http://www.h2database.com/html/roadmap.html">roadmap</a>.
$$);
INSERT INTO ITEM VALUES(79, INSERT INTO ITEM VALUES(79,
'New version available: 1.2.129 (2010-02-19)', '2010-02-19 12:00:00', 'New version available: 1.2.129 (2010-02-19)', '2010-02-19 12:00:00',
$$A new version of H2 is available for $$A new version of H2 is available for
...@@ -241,38 +254,6 @@ For future plans, see the 'Roadmap' page at ...@@ -241,38 +254,6 @@ For future plans, see the 'Roadmap' page at
http://www.h2database.com/html/roadmap.html http://www.h2database.com/html/roadmap.html
$$); $$);
INSERT INTO ITEM VALUES(67,
'New version available: 1.1.117 (2009-08-09)', '2009-08-09 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>CSV reading and parsing SQL scripts is now faster.
</li><li>Support for Java 6 DatabaseMetaData.getTables, getColumns.
</li><li>JaQu: the order of the fields no longer needs to match.
</li><li>Improved MySQL compatibility for SHOW COLUMNS.
</li><li>Improved PostgreSQL compatibility for timestamp literals.
</li><li>Sam Van Oort is now a committer.
</li><li>LIKE: the escape mechanism can now be disable using ESCAPE ''.
</li><li>Sergi Vladykin translated the error messages to Russian. Thanks a lot!
</li><li>The function LENGTH now return BIGINT.
</li><li>CLOB and BLOB: the maximum precision is now Long.MAX_VALUE.
</li><li>MVCC: the complete undo log must fit in memory.
</li></ul>
<b>Bugfixes:</b>
<ul><li>SimpleResultSet.newInstance(SimpleRowSource rs) did not work.
</li><li>Views using functions were not re-evaluated when necessary.
</li><li>Rollback of a large transaction could fail.
</li><li>Various bugfixes and improvements in the page store mechanism.
</li><li>Multi-threaded kernel synchronization bugs fixed.
</li></ul>
For details, see the 'Change Log' at
http://www.h2database.com/html/changelog.html
<br />
For future plans, see the 'Roadmap' page at
http://www.h2database.com/html/roadmap.html
$$);
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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论