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

Prepare release.

上级 7aa917b7
...@@ -3142,7 +3142,7 @@ CALL XMLCDATA('data') ...@@ -3142,7 +3142,7 @@ CALL XMLCDATA('data')
"Functions (String)","XMLSTARTDOC"," "Functions (String)","XMLSTARTDOC","
XMLSTARTDOC() XMLSTARTDOC()
"," ","
Returns the XML decrations. Returns the XML declaration.
The result is always ""<?xml version=""1.0""?>"". The result is always ""<?xml version=""1.0""?>"".
"," ","
CALL XMLSTARTDOC() CALL XMLSTARTDOC()
...@@ -3152,7 +3152,7 @@ CALL XMLSTARTDOC() ...@@ -3152,7 +3152,7 @@ CALL XMLSTARTDOC()
XMLTEXT(valueString [, escapeNewlineBoolean]) XMLTEXT(valueString [, escapeNewlineBoolean])
"," ","
Creates an XML text element. Creates an XML text element.
If enabled, newlines and linefeeds are converted to XML entities (&#). If enabled, newline and linefeed is converted to an XML entity (&#).
This method returns a string. This method returns a string.
"," ","
CALL XMLTEXT('test') CALL XMLTEXT('test')
......
...@@ -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.163 (2011-12-30)</h2>
<ul><li>On out of disk space, the database could get corrupt sometimes, <ul><li>On out of disk space, the database could get corrupt sometimes,
if later write operations succeeded. The same problem happened on other if later write operations succeeded. The same problem happened on other
kinds of I/O exceptions (where one or some of the writes fail, but subsequent writes kinds of I/O exceptions (where one or some of the writes fail, but subsequent writes
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -190,7 +190,8 @@ public class SysProperties { ...@@ -190,7 +190,8 @@ public class SysProperties {
public static final boolean LOB_IN_DATABASE = Utils.getProperty("h2.lobInDatabase", Constants.VERSION_MINOR >= 3); public static final boolean LOB_IN_DATABASE = Utils.getProperty("h2.lobInDatabase", Constants.VERSION_MINOR >= 3);
/** /**
* System property <code>h2.lobClientMaxSizeMemory</code> (default: 1048576).<br /> * System property <code>h2.lobClientMaxSizeMemory</code> (default:
* 1048576).<br />
* The maximum size of a LOB object to keep in memory on the client side * The maximum size of a LOB object to keep in memory on the client side
* when using the server mode. * when using the server mode.
*/ */
......
...@@ -16,22 +16,22 @@ public class Constants { ...@@ -16,22 +16,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 = "2011-11-26"; public static final String BUILD_DATE = "2011-12-30";
/** /**
* 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 = "2011-10-28"; public static final String BUILD_DATE_STABLE = "2011-11-26";
/** /**
* The build id is incremented for each public release. * The build id is incremented for each public release.
*/ */
public static final int BUILD_ID = 162; public static final int BUILD_ID = 163;
/** /**
* The build id of the last stable release. * The build id of the last stable release.
*/ */
public static final int BUILD_ID_STABLE = 161; public static final int BUILD_ID_STABLE = 162;
/** /**
* 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
......
...@@ -1120,7 +1120,7 @@ XMLATTR(nameString, valueString) ...@@ -1120,7 +1120,7 @@ XMLATTR(nameString, valueString)
"," ","
Creates an XML attribute element of the form ""name=value""." Creates an XML attribute element of the form ""name=value""."
"Functions (String)","XMLNODE"," "Functions (String)","XMLNODE","
XMLNODE(elementString [, attributesString [, contentString]]) XMLNODE(elementString [, attributesString [, contentString [, indentBoolean]]])
"," ","
Create an XML node element." Create an XML node element."
"Functions (String)","XMLCOMMENT"," "Functions (String)","XMLCOMMENT","
...@@ -1134,9 +1134,9 @@ Creates an XML CDATA element." ...@@ -1134,9 +1134,9 @@ Creates an XML CDATA element."
"Functions (String)","XMLSTARTDOC"," "Functions (String)","XMLSTARTDOC","
XMLSTARTDOC() XMLSTARTDOC()
"," ","
The string ""<?xml version='1." Returns the XML declaration."
"Functions (String)","XMLTEXT"," "Functions (String)","XMLTEXT","
XMLTEXT(valueString) XMLTEXT(valueString [, escapeNewlineBoolean])
"," ","
Creates an XML text element." Creates an XML text element."
"Functions (Time and Date)","CURRENT_DATE"," "Functions (Time and Date)","CURRENT_DATE","
......
...@@ -1069,22 +1069,22 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData { ...@@ -1069,22 +1069,22 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
/** /**
* INTERNAL * INTERNAL
*/ */
//## Java 1.6 ## //## Java 1.6 ##
public void updateAsciiStream(int columnIndex, InputStream x) public void updateAsciiStream(int columnIndex, InputStream x)
throws SQLException { throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
//*/ //*/
/** /**
* INTERNAL * INTERNAL
*/ */
//## Java 1.6 ## //## Java 1.6 ##
public void updateAsciiStream(String columnLabel, InputStream x) public void updateAsciiStream(String columnLabel, InputStream x)
throws SQLException { throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
//*/ //*/
/** /**
* INTERNAL * INTERNAL
...@@ -1103,22 +1103,22 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData { ...@@ -1103,22 +1103,22 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
/** /**
* INTERNAL * INTERNAL
*/ */
//## Java 1.6 ## //## Java 1.6 ##
public void updateAsciiStream(int columnIndex, InputStream x, long length) public void updateAsciiStream(int columnIndex, InputStream x, long length)
throws SQLException { throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
//*/ //*/
/** /**
* INTERNAL * INTERNAL
*/ */
//## Java 1.6 ## //## Java 1.6 ##
public void updateAsciiStream(String columnLabel, InputStream x, long length) public void updateAsciiStream(String columnLabel, InputStream x, long length)
throws SQLException { throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
//*/ //*/
/** /**
* INTERNAL * INTERNAL
...@@ -1137,22 +1137,22 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData { ...@@ -1137,22 +1137,22 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
/** /**
* INTERNAL * INTERNAL
*/ */
//## Java 1.6 ## //## Java 1.6 ##
public void updateBinaryStream(int columnLabel, InputStream x) public void updateBinaryStream(int columnLabel, InputStream x)
throws SQLException { throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
//*/ //*/
/** /**
* INTERNAL * INTERNAL
*/ */
//## Java 1.6 ## //## Java 1.6 ##
public void updateBinaryStream(String columnLabel, InputStream x) public void updateBinaryStream(String columnLabel, InputStream x)
throws SQLException { throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
//*/ //*/
/** /**
* INTERNAL * INTERNAL
...@@ -1171,22 +1171,22 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData { ...@@ -1171,22 +1171,22 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
/** /**
* INTERNAL * INTERNAL
*/ */
//## Java 1.6 ## //## Java 1.6 ##
public void updateBinaryStream(int columnIndex, InputStream x, long length) public void updateBinaryStream(int columnIndex, InputStream x, long length)
throws SQLException { throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
//*/ //*/
/** /**
* INTERNAL * INTERNAL
*/ */
//## Java 1.6 ## //## Java 1.6 ##
public void updateBinaryStream(String columnLabel, InputStream x, long length) public void updateBinaryStream(String columnLabel, InputStream x, long length)
throws SQLException { throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
//*/ //*/
/** /**
* INTERNAL * INTERNAL
...@@ -1216,8 +1216,6 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData { ...@@ -1216,8 +1216,6 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
throw getUnsupportedException(); throw getUnsupportedException();
} }
// intest
/** /**
* INTERNAL * INTERNAL
*/ */
...@@ -1742,16 +1740,6 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData { ...@@ -1742,16 +1740,6 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
} }
//*/ //*/
/** /**
* INTERNAL * INTERNAL
*/ */
...@@ -1934,7 +1922,6 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData { ...@@ -1934,7 +1922,6 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/**
/** /**
* @deprecated INTERNAL * @deprecated INTERNAL
*/ */
......
...@@ -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
(113, '1.3.163', '2011-12-30'),
(112, '1.3.162', '2011-11-26'), (112, '1.3.162', '2011-11-26'),
(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'),
......
...@@ -60,10 +60,6 @@ public class TestListener extends TestBase implements DatabaseEventListener { ...@@ -60,10 +60,6 @@ public class TestListener extends TestBase implements DatabaseEventListener {
deleteDb("listener"); deleteDb("listener");
} }
public void diskSpaceIsLow() {
printTime("diskSpaceIsLow");
}
public void exceptionThrown(SQLException e, String sql) { public void exceptionThrown(SQLException e, String sql) {
TestBase.logError("exceptionThrown sql=" + sql, e); TestBase.logError("exceptionThrown sql=" + sql, e);
} }
......
...@@ -157,10 +157,6 @@ public class TestMultiConn extends TestBase implements DatabaseEventListener { ...@@ -157,10 +157,6 @@ public class TestMultiConn extends TestBase implements DatabaseEventListener {
thread.join(); thread.join();
} }
public void diskSpaceIsLow() {
// do nothing
}
public void exceptionThrown(SQLException e, String sql) { public void exceptionThrown(SQLException e, String sql) {
// do nothing // do nothing
} }
......
...@@ -206,10 +206,6 @@ public class TestOpenClose extends TestBase implements DatabaseEventListener { ...@@ -206,10 +206,6 @@ public class TestOpenClose extends TestBase implements DatabaseEventListener {
return nextId++; return nextId++;
} }
public void diskSpaceIsLow() {
throw new RuntimeException("unexpected");
}
public void exceptionThrown(SQLException e, String sql) { public void exceptionThrown(SQLException e, String sql) {
throw new AssertionError("unexpected: " + e + " sql: " + sql); throw new AssertionError("unexpected: " + e + " sql: " + sql);
} }
......
...@@ -74,10 +74,6 @@ public class TestDatabaseEventListener extends TestBase implements DatabaseEvent ...@@ -74,10 +74,6 @@ public class TestDatabaseEventListener extends TestBase implements DatabaseEvent
// nothing to do // nothing to do
} }
public void diskSpaceIsLow() {
// nothing to do
}
public void exceptionThrown(SQLException e, String sql) { public void exceptionThrown(SQLException e, String sql) {
// nothing to do // nothing to do
} }
...@@ -218,10 +214,6 @@ public class TestDatabaseEventListener extends TestBase implements DatabaseEvent ...@@ -218,10 +214,6 @@ public class TestDatabaseEventListener extends TestBase implements DatabaseEvent
calledClosingDatabase = true; calledClosingDatabase = true;
} }
public void diskSpaceIsLow() {
// nothing to do
}
public void exceptionThrown(SQLException e, String sql) { public void exceptionThrown(SQLException e, String sql) {
// nothing to do // nothing to do
} }
......
...@@ -8970,9 +8970,9 @@ CALL XMLTEXT('<test>'); ...@@ -8970,9 +8970,9 @@ CALL XMLTEXT('<test>');
> &lt;test&gt; > &lt;test&gt;
> rows: 1 > rows: 1
CALL XMLTEXT('hello' || chr(10) || 'world'); SELECT XMLTEXT('hello' || chr(10) || 'world') X;
> STRINGDECODE('hello\nworld') > X
> ---------------------------- > -----------
> hello world > hello world
> rows: 1 > rows: 1
......
...@@ -179,10 +179,6 @@ public class TestAutoReconnect extends TestBase implements DatabaseEventListener ...@@ -179,10 +179,6 @@ public class TestAutoReconnect extends TestBase implements DatabaseEventListener
// ignore // ignore
} }
public void diskSpaceIsLow() {
// ignore
}
public void exceptionThrown(SQLException e, String sql) { public void exceptionThrown(SQLException e, String sql) {
// ignore // ignore
} }
......
...@@ -110,10 +110,6 @@ public class TestExit extends TestBase implements DatabaseEventListener { ...@@ -110,10 +110,6 @@ public class TestExit extends TestBase implements DatabaseEventListener {
return DriverManager.getConnection(url, "sa", ""); return DriverManager.getConnection(url, "sa", "");
} }
public void diskSpaceIsLow() {
// nothing to do
}
public void exceptionThrown(SQLException e, String sql) { public void exceptionThrown(SQLException e, String sql) {
// nothing to do // nothing to do
} }
......
...@@ -752,10 +752,6 @@ public class TestPageStore extends TestBase implements DatabaseEventListener { ...@@ -752,10 +752,6 @@ public class TestPageStore extends TestBase implements DatabaseEventListener {
event("closing"); event("closing");
} }
public void diskSpaceIsLow() {
event("diskSpaceIsLow");
}
public void exceptionThrown(SQLException e, String sql) { public void exceptionThrown(SQLException e, String sql) {
event("exceptionThrown " + e + " " + sql); event("exceptionThrown " + e + " " + sql);
} }
......
...@@ -696,4 +696,4 @@ pst patadia summertime jalpesh scheme compilable ski takanori dsts kawashima ...@@ -696,4 +696,4 @@ pst patadia summertime jalpesh scheme compilable ski takanori dsts kawashima
kokoci seldom jaros ciphers srcs invectorate noah nfontes fontes recoding kokoci seldom jaros ciphers srcs invectorate noah nfontes fontes recoding
minecraft videos youtube dataflyer bukkit alessio adamo jacopo angel leon frost minecraft videos youtube dataflyer bukkit alessio adamo jacopo angel leon frost
deserializing eckenfelder daniel serodio dirname semicolons whose stretch deserializing eckenfelder daniel serodio dirname semicolons whose stretch
stabilize stabilize succeeded
...@@ -158,7 +158,8 @@ public class InPlaceStableQuicksort<T> { ...@@ -158,7 +158,8 @@ public class InPlaceStableQuicksort<T> {
} }
/** /**
* Partition a small block using the temporary array. This will speed up partitioning. * Partition a small block using the temporary array. This will speed up
* partitioning.
* *
* @param pivot the pivot * @param pivot the pivot
* @param from the index of the first element * @param from the index of the first element
......
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Copyright 2004-2011 H2 Group. Multiple-Licensed under the H2 License, Version 1.0,
and under the Eclipse Public License, Version 1.0
(http://h2database.com/html/license.html).
Initial Developer: H2 Group
-->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title>
Javadoc package documentation
</title></head><body style="font: 9pt/130% Tahoma, Arial, Helvetica, sans-serif; font-weight: normal;"><p>
Sorting utilities.
</p></body></html>
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论