提交 028741ee authored 作者: Thomas Mueller's avatar Thomas Mueller

prepare release

上级 42d8b5e6
......@@ -18,6 +18,10 @@ Change Log
<h1>Change Log</h1>
<h2>Next Version (unreleased)</h2>
<ul><li>-
</li></ul>
<h2>Version 1.1.114 (2009-06-01)</h2>
<ul><li>ResultSetMetaData.getColumnClassName returned the wrong
class for CLOB and BLOB columns.
</li><li>Fulltext search: Data is no longer deleted and
......@@ -557,144 +561,5 @@ Change Log
providing a patch!
</li></ul>
<h2>Version 1.0.73 (2008-05-31)</h2>
<ul>
<li>ParameterMetaData now returns the right data type for most
conditions, as in WHERE ID=?.
</li><li>The table SYSTEM_RANGE now supports expressions and parameters.
</li><li>New column INFORMATION_SCHEMA.CONSTRAINTS.UNIQUE_INDEX_NAME
that contains the name of the unique index used to enforce this
constraint, if there is such an index.
</li><li>SET QUERY_TIMEOUT and Statement.setQueryTimeout no longer commits
a transaction. The same applies to SET @VARIABLE, SET LOCK_TIMEOUT,
SET TRACE_LEVEL_*, SET THROTTLE, and SET PATH.
</li><li>The SCRIPT command does now emit IF NOT EXISTS for CREATE ROLE.
</li><li>MySQL compatibility: auto_increment column are no longer automatically
converted to primary key columns.
</li><li>PostgreSQL compatibility: support for BOOL_OR and BOOL_AND
aggregate functions.
</li><li>Negative scale values for DECIMAL or NUMBER columns are now supported
in regular tables and in linked tables.
</li><li>A role or right can now be granted or revoked multiple times without
getting an exception.
</li><li>Infinite numbers in SQL scripts are listed as POWER(0, -1)), negative
infinite as (-POWER(0, -1)), and NaN (not a number) as SQRT(-1).
</li><li>The special double and float values 'NaN' (not a number) did not work
correctly when sorting or comparing.
</li><li>The fulltext search did not support CLOB data types.
</li><li>If the drive with the database files was disconnected or unmounted
while writing, sometimes a stack overflow exception was thrown
instead of a IO exception.
</li><li>The H2 Console could not be shut down from within the tool if the
browser supports keepAlive (most browsers do).
</li><li>If the password was passed as a char array, it was kept in an internal buffer
longer than required. Theoretically the password could have been stolen
if the main memory was swapped to disk before the garbage collection was run.
</li></ul>
<h2>Version 1.0.72 (2008-05-10)</h2>
<ul>
<li>Some databases could not be opened when appending
;RECOVER=1 to the database URL.
</li><li>The Japanese translation of the error messages and the H2 Console
has been completed by Masahiro Ikemoto (Arizona Design Inc.)
</li><li>Updates made to updatable rows are now visible within the same result set.
DatabaseMetaData.ownUpdatesAreVisible now returns true.
</li><li>ParameterMetaData now returns the correct data
for INSERT and UPDATE statements.
</li><li>H2 Shell: DESCRIBE now supports an schema name.
</li><li>A subset of the PostgreSQL 'dollar quoting' feature is now supported.
</li><li>SLF4J is now supported by using adding TRACE_LEVEL_FILE=4
to the database URL.
</li><li>The recovery tool did not work if the table name contained spaces
or if there was a comment on the table.
</li><li>Triggers are no longer executed when changing the table
structure (ALTER TABLE).
</li><li>When setting BLOB or CLOB values larger than 65 KB using
a remote connection, temporary files were kept on the client
longer than required (until the connection was closed or the
object is garbage collected). Now they are removed as soon
as the PreparedStatement is closed, or when the value is
overwritten.
</li><li>Statements can now be canceled remotely
(when using remote connections).
</li><li>The Shell tool now uses java.io.Console to read the password
when using JDK 1.6
</li><li>When using read-only databases and setting LOG=2, an exception
was written to the trace file when closing the database. Fixed.
</li></ul>
<h2>Version 1.0.71 (2008-04-25)</h2>
<ul>
<li>H2 is now dual-licensed under the Eclipse Public License (EPL) and the
old 'H2 License' (which is basically MPL).
</li><li>Sometimes an exception 'File ID mismatch' or 'try to add a record twice'
occurred after large records (8 KB or larger) are updated or deleted.
See also http://code.google.com/p/h2database/issues/detail?id=22
</li><li>H2 Console: The tools can now be translated
(it didn't work in the last release).
</li><li>New traditional Chinese translation. Thanks a lot to Derek Chao!
</li><li>Indexes were not used when enabling the optimization for
IN(SELECT...) (system property h2.optimizeInJoin).
</li></ul>
<h2>Version 1.0.70 (2008-04-20)</h2>
<ul>
<li>The plan is to dual-license H2. The additional license is EPL (Eclipse Public License).
The current license (MPL, Mozilla Public License) will stay.
Current users are not affected because they can keep MPL.
EPL is very similar to MPL, the only bigger difference is related to patents
(EPL is a bit more business friendly in this regard).
See also http://opensource.org/licenses/eclipse-1.0.php,
http://www.eclipse.org/legal/eplfaq.php (FAQ),
http://blogs.zdnet.com/Burnette/?p=131
</li><li>Multi version concurrency (MVCC): when a row was updated,
and the updated column was not indexed, this update was visible sometimes
for other sessions even if it was not committed.
</li><li>Calling SHUTDOWN on one connection and starting a query on
another connection concurrently could result in a Java level deadlock.
</li><li>New system property h2.enableAnonymousSSL (default: true) to enable
anonymous SSL connections.
</li><li>The precision if SUBSTR is now calculated if possible.
</li><li>The autocomplete in the H2 Console has been improved a bit.
</li><li>The tools in the H2 Console are now translatable.
</li><li>The servlet and lucene jar files are now automatically downloaded when building.
</li><li>The code switch tool has been replaced by a simpler tool called
SwitchSource that just uses find and replace.
</li><li>Started to write a Ant replacement ('JAnt') that uses pure Java
build definitions. Advantages: ability to debug the build, extensible,
flexible, no XML, a bit faster. Future plan: support creating custom h2
distributions (for embedded use). Maybe create a new project 'Jant'
or 'Javen' if other people are interested.
</li><li>The jar file is now about 10% smaller because the variable debugging info
is no longer included. The source file and line number debugging info
is still included. If required, the jar file size of the full version can
be further reduced to about 720 KB using 'build jarSmall' or even
more by removing unneeded components.
</li><li>Added shell scripts run.sh and build.sh. chmod +x is required,
but otherwise it should work. Feedback or improvements are welcome!
</li><li>Databases in zip files: large queries are now supported. Temp files are created in
the temp directory if required. The documentation how to create
the zip file has been corrected.
</li><li>Invalid inline views threw confusing SQL exceptions.
</li><li>The Japanese translation of the error messages and the
H2 Console has been improved. Thanks a lot to Masahiro IKEMOTO.
</li><li>Optimization for MIN() and MAX() when using MVCC.
</li><li>To protect against remote brute force password attacks,
the delay after each unsuccessful login now gets double as long.
New system properties h2.delayWrongPasswordMin
and h2.delayWrongPasswordMax.
</li><li>After setting the query timeout and then resetting it, the next query
would still timeout. Fixed.
</li><li>Adding a IDENTITY column to a table with data threw a lock timeout.
</li><li>OutOfMemoryError could occur when using EXISTS or IN(SELECT ..).
</li><li>The built-in connection pool is not called JdbcConnectionPool.
The API and documentation has been changed.
</li><li>The ConvertTraceFile tool now generates SQL statement statistics
at the end of the SQL script file (similar to the profiling data
generated when using java -Xrunhprof).
</li><li>Nested joins are now supported (A JOIN B JOIN C ON .. ON ..)
</li></ul>
<!-- [close] { --></div></td></tr></table><!-- } --><!-- analytics --></body></html>
......@@ -14,22 +14,22 @@ public class Constants {
/**
* The build id is incremented for each public release.
*/
public static final int BUILD_ID = 113;
public static final int BUILD_ID = 114;
/**
* The build id of the last stable release.
*/
public static final int BUILD_ID_STABLE = 112;
public static final int BUILD_ID_STABLE = 113;
/**
* The build date is updated for each public release.
*/
public static final String BUILD_DATE = "2009-05-21";
public static final String BUILD_DATE = "2009-06-01";
/**
* The build date is updated for each public release.
*/
public static final String BUILD_DATE_STABLE = "2009-05-01";
public static final String BUILD_DATE_STABLE = "2009-05-21";
/**
* The TCP protocol version number 5. This protocol is used by the TCP
......
......@@ -59,9 +59,9 @@ import org.h2.value.ValueString;
*/
public class PageStore implements CacheWriter {
// TODO implement unlimited number of log files (TestPageStoreDb)
// TODO unlimited number of log streams (TestPageStoreDb)
// TODO check if PageLog.reservePages is required - yes it is - change it
// TODO PageStore.openMetaIndex (desc and nulls first / last columns support)
// TODO PageStore.openMetaIndex (desc and nulls first / last)
// TODO btree index with fixed size values doesn't need offset and so on
// TODO log block allocation
......
......@@ -13,6 +13,33 @@ INSERT INTO CHANNEL VALUES('H2 Database Engine' ,
CREATE TABLE ITEM(ID INT PRIMARY KEY, TITLE VARCHAR, ISSUED TIMESTAMP, DESC VARCHAR);
INSERT INTO ITEM VALUES(64,
'New version available: 1.1.114 (2009-06-01)', '2009-06-01 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>Java 1.5 is now required to run H2.
</li><li>Fulltext search: Data is no longer deleted and
re-inserted if there was no change.
</li><li>Microsoft Windows: when using the the installer, Vista wrote
"This program may not have installed correctly."
This message should no longer appear.
</li></ul>
<b>Bugfixes:</b>
<ul><li>ResultSetMetaData.getColumnClassName returned the wrong
class for CLOB and BLOB columns.
</li><li>In some situations, an ArrayIndexOutOfBoundsException was
thrown when adding rows.
</li><li>The Recover tool did not always work.
</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
$$);
INSERT INTO ITEM VALUES(63,
'New version available: 1.1.113 (2009-05-21)', '2009-05-21 12:00:00',
$$A new version of H2 is available for <a href="http://www.h2database.com">download</a>.
......@@ -426,35 +453,6 @@ For future plans, see the 'Roadmap' page at
http://www.h2database.com/html/roadmap.html
$$);
INSERT INTO ITEM VALUES(50,
'New version available: 1.1.100 (beta; 2008-10-04)', '2008-10-04 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>In version H2 1.1, some features are now enabled by default.
</li><li>New auto-reconnect feature.
To enable, append ;AUTO_RECONNECT=TRUE to the database URL.
</li><li>The H2 Console tool now works with the JDBC-ODBC bridge.
</li><li>The H2 Console tool now supports command line options.
</li><li>The h2console.war can now be built using the Java build.
</li><li>If you want that each connection opens its own database, append
;OPEN_NEW=TRUE to the database URL.
</li><li>CreateCluster: the property 'serverlist' is now called 'serverList'.
</li><li>Databases names can now be one character long.
</li></ul>
<b>Bugfixes:</b>
<ul><li>Connections from a local address other than 'localhost' were not allowed by default.
</li><li>Large objects did not work for in-memory databases in server mode in Linux.
</li><li>The ConvertTraceFile tool could not parse some files.
</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,
XMLSTARTDOC() ||
XMLNODE('rss', XMLATTR('version', '2.0'),
......
......@@ -296,10 +296,6 @@ java org.h2.test.TestAll timer
shell tool: document encoding problem. mac: use
java -Dfile.encoding=UTF-8;
TableData should have its own compareMode
(copy of Database.compareMode when created).
stored in the pageStore as well.
test case for running out of disk space (using a special file system)
auto-build: prepare release
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论