提交 6c6d4564 authored 作者: Thomas Mueller's avatar Thomas Mueller

prepare release

上级 250d1812
...@@ -18,8 +18,12 @@ Change Log ...@@ -18,8 +18,12 @@ 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.1.104 (2008-11-28)</h2>
<ul><li>If a query that was used like a table contained group by and was ordered by an expression that <ul><li>If a query that was used like a table contained group by and was ordered by an expression that
is not in the column list, an exception was thrown. is not in the column list, an exception was thrown.
</li><li>JaQu: tables are now auto-created when running a query. </li><li>JaQu: tables are now auto-created when running a query.
</li><li>The optimizer had problems with function tables (for example CSVREAD and FTL_SEARCH). </li><li>The optimizer had problems with function tables (for example CSVREAD and FTL_SEARCH).
A new system property h2.estimatedFunctionTableRows (default 1000) defines how many rows A new system property h2.estimatedFunctionTableRows (default 1000) defines how many rows
......
...@@ -80,7 +80,7 @@ public class Constants { ...@@ -80,7 +80,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 = 103; public static final int BUILD_ID = 104;
/** /**
* The build id of the last stable release. * The build id of the last stable release.
...@@ -90,7 +90,7 @@ public class Constants { ...@@ -90,7 +90,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 = "2008-11-07"; public static final String BUILD_DATE = "2008-11-28";
/** /**
* The build date is updated for each public release. * The build date is updated for each public release.
......
...@@ -60,7 +60,7 @@ class PageDataNode extends PageData { ...@@ -60,7 +60,7 @@ class PageDataNode extends PageData {
index.getPageStore().writePage(pageId, data); index.getPageStore().writePage(pageId, data);
} }
void addChild(int x, int childPageId, int key) { private void addChild(int x, int childPageId, int key) {
int[] newKeys = new int[entryCount + 1]; int[] newKeys = new int[entryCount + 1];
int[] newChildPageIds = new int[entryCount + 2]; int[] newChildPageIds = new int[entryCount + 2];
if (entryCount > 0) { if (entryCount > 0) {
......
...@@ -13,6 +13,43 @@ INSERT INTO CHANNEL VALUES('H2 Database Engine' , ...@@ -13,6 +13,43 @@ 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(54,
'New version available: 1.1.104 (beta; 2008-11-28)', '2008-11-28 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>ResultSet.getObject for a lob will return java.sql.Clob / Blob.
</li><li>The interface CloseListener has a new method 'remove'.
</li><li>Compatibility for MS SQL Server DATEDIFF(YYYY, .., ..)
</li><li>The emergency reserve file has been removed.
</li><li>The H2DatabaseProvider for ActiveObjects is now included.
</li><li>The H2Platform for Oracle Toplink Essential has been improved.
</li><li>Build: JAVA_HOME is now automatically detected on Mac OS X.
</li><li>The cache memory usage calculation is more conservative.
</li><li>Large databases on FAT file system are now supported.
</li><li>The database now tries to detect if the web application is stopped.
</li></ul>
<b>Bugfixes:</b>
<ul><li>Fulltext search: a memory leak has been fixed.
</li><li>A query with group by that was used like a table could throw an exception.
</li><li>JaQu: tables are now auto-created when running a query.
</li><li>The optimizer had problems with function tables.
</li><li>The function SUM could overflow when using large values.
</li><li>The function AVG could overflow when using large values.
</li><li>Testing for local connections was very slow on some systems.
</li><li>Allocating space got slower and slower the larger the database.
</li><li>ALTER TABLE ALTER COLUMN could throw the wrong exception.
</li><li>Updatable result sets: the key columns can now be updated.
</li><li>The Windows service to start H2 didn't work in version 1.1.
</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(53, INSERT INTO ITEM VALUES(53,
'New version available: 1.1.103 (beta; 2008-11-07)', '2008-11-07 12:00:00', 'New version available: 1.1.103 (beta; 2008-11-07)', '2008-11-07 12:00:00',
$$A new version of H2 is available for <a href="http://www.h2database.com">download</a>. $$A new version of H2 is available for <a href="http://www.h2database.com">download</a>.
...@@ -421,32 +458,6 @@ For future plans, see the 'Roadmap' page at ...@@ -421,32 +458,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(41,
'New version available: 1.0.71 (2008-04-25)', '2008-04-25 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>H2 is now dual-licensed under the Eclipse Public License (EPL) and the
old ''H2 License'' (which is basically MPL).
</li><li>New traditional Chinese translation. Thanks a lot to Derek Chao!
</li></ul>
<b>Bugfixes:</b>
<ul><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>Indexes were not used when enabling the optimization for
IN(SELECT...) (system property h2.optimizeInJoin).
</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'),
......
...@@ -292,14 +292,12 @@ don't store default values (store a special value) ...@@ -292,14 +292,12 @@ don't store default values (store a special value)
build.sh from mac (test in Ubuntu) build.sh from mac (test in Ubuntu)
btree: maybe split at the insertion point btree: maybe split at the insertion point
split files (1 GB max size) split files (1 GB max size)
add a setting (that can be changed at runtime) to call fsync and delay on each commit add a setting (that can be changed at runtime) to call fsync
and delay on each commit
drop table emp;
drop table dept; drop table test;
create table emp (empid integer, name varchar(255), deptid integer); create table test(id int);
create table dept (deptid integer, dept_name varchar(255)); select id from test a natural join test b;
select * from emp natural join dept;
select deptid, name, dept_name from emp natural join dept;
(works for MySQL, PostgreSQL) (works for MySQL, PostgreSQL)
multithreaded kernel multithreaded kernel
......
...@@ -572,4 +572,4 @@ localization olivier hprof jps jstack qua processor casting brasilia leap ...@@ -572,4 +572,4 @@ localization olivier hprof jps jstack qua processor casting brasilia leap
daylight vision declarative shape formula webapp catalina study impact daylight vision declarative shape formula webapp catalina study impact
statisticlog activeobjects manske redeployment michael kaspersky datatext statisticlog activeobjects manske redeployment michael kaspersky datatext
bleyl donald conservative offsets diabetes ansorg allocating osmond gluco bleyl donald conservative offsets diabetes ansorg allocating osmond gluco
joachim joachim mysqladmin sudo mysqld
\ No newline at end of file \ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论