提交 3c754151 authored 作者: Thomas Mueller's avatar Thomas Mueller

Prepare release.

上级 d7275670
...@@ -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.3.172 (2013-05-25)</h2>
<ul><li>Referential integrity: when adding a referential integrity constraint failed, <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. 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. </li><li>The auto-analyze feature now only reads 1000 rows per table instead of 10000.
...@@ -35,14 +39,14 @@ Change Log ...@@ -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>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 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 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 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 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 - 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 - 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>Issue 274: Sybase/MSSQLServer compatibility - support index clause e.g. "select * from test (index table1_index)"
</li><li>Fix bug in optimizing SELECT * FROM A WHERE X=1 OR X=2 OR X=3 into SELECT * FROM A WHERE X IN (1,2,3) </li><li>Fix bug in Optimizing 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: groovy patch for SourceCompiler (function ALIAS) </li><li>Issue 442: Groovy patch for SourceCompiler (function ALIAS)
</li><li>Issue 459: Improve LOB documentation </li><li>Issue 459: Improve LOB documentation
</li></ul> </li></ul>
...@@ -296,43 +300,5 @@ Change Log ...@@ -296,43 +300,5 @@ Change Log
(as required by the JDBC spec). (as required by the JDBC spec).
</li></ul> </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> <!-- [close] { --></div></td></tr></table><!-- } --><!-- analytics --></body></html>
...@@ -17,22 +17,22 @@ public class Constants { ...@@ -17,22 +17,22 @@ 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 = "2013-03-17"; public static final String BUILD_DATE = "2013-05-25";
/** /**
* The build date is updated for each public release. * The build date is updated for each public release.
*/ */
public static final String BUILD_DATE_STABLE = "2012-11-30"; public static final String BUILD_DATE_STABLE = "2013-03-17";
/** /**
* The build id is incremented for each public release. * The build id is incremented for each public release.
*/ */
public static final int BUILD_ID = 171; public static final int BUILD_ID = 172;
/** /**
* The build id of the last stable release. * The build id of the last stable release.
*/ */
public static final int BUILD_ID_STABLE = 170; public static final int BUILD_ID_STABLE = 171;
/** /**
* If H2 is compiled to be included in a product, this should be set to * If H2 is compiled to be included in a product, this should be set to
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
CREATE TABLE VERSION(ID INT PRIMARY KEY, VERSION VARCHAR, CREATED VARCHAR); CREATE TABLE VERSION(ID INT PRIMARY KEY, VERSION VARCHAR, CREATED VARCHAR);
INSERT INTO VERSION VALUES INSERT INTO VERSION VALUES
(122, '1.3.171', '2013-05-25'),
(121, '1.3.171', '2013-03-17'), (121, '1.3.171', '2013-03-17'),
(120, '1.3.170', '2012-11-30'), (120, '1.3.170', '2012-11-30'),
(119, '1.3.169', '2012-09-09'), (119, '1.3.169', '2012-09-09'),
...@@ -20,8 +21,6 @@ INSERT INTO VERSION VALUES ...@@ -20,8 +21,6 @@ INSERT INTO VERSION VALUES
(111, '1.3.161', '2011-10-28'), (111, '1.3.161', '2011-10-28'),
(110, '1.3.160', '2011-09-11'), (110, '1.3.160', '2011-09-11'),
(109, '1.3.159', '2011-08-13'), (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, CREATE TABLE CHANNEL(TITLE VARCHAR, LINK VARCHAR, DESC VARCHAR,
......
...@@ -36,7 +36,7 @@ public class TestTransaction extends TestBase { ...@@ -36,7 +36,7 @@ public class TestTransaction extends TestBase {
@Override @Override
public void test() throws SQLException { public void test() throws SQLException {
testContraintCreationRollback(); testConstraintCreationRollback();
testCommitOnAutoCommitChange(); testCommitOnAutoCommitChange();
testConcurrentSelectForUpdate(); testConcurrentSelectForUpdate();
testLogMode(); testLogMode();
...@@ -50,7 +50,7 @@ public class TestTransaction extends TestBase { ...@@ -50,7 +50,7 @@ public class TestTransaction extends TestBase {
deleteDb("transaction"); deleteDb("transaction");
} }
private void testContraintCreationRollback() throws SQLException { private void testConstraintCreationRollback() throws SQLException {
deleteDb("transaction"); deleteDb("transaction");
Connection conn = getConnection("transaction"); Connection conn = getConnection("transaction");
Statement stat = conn.createStatement(); Statement stat = conn.createStatement();
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
-- Version 1.0, and under the Eclipse Public License, Version 1.0 -- Version 1.0, and under the Eclipse Public License, Version 1.0
-- (http://h2database.com/html/license.html). -- (http://h2database.com/html/license.html).
-- Initial Developer: H2 Group -- Initial Developer: H2 Group
--
--- special grammar and test cases --------------------------------------------------------------------------------------------- --- special grammar and test cases ---------------------------------------------------------------------------------------------
select * from dual where x = x + 1 or x in(2, 0); select * from dual where x = x + 1 or x in(2, 0);
> X > X
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论