提交 9184ef8f authored 作者: Thomas Mueller's avatar Thomas Mueller

Documentation.

上级 22ad56ba
......@@ -960,7 +960,7 @@ the TCP server, or the PG server. Remote access can be enabled using the command
options <code>-webAllowOthers, -tcpAllowOthers, -pgAllowOthers</code>.
If you enable remote access, please also consider using the options
<code>-baseDir, -ifExists</code>, so that remote
users can not create new databases or access existing databases with weak passwords.
users can not create new databases or access existing databases with weak passwords.
When using the option <code>-baseDir</code>, only databases within that directory may be accessed.
Ensure the existing accessible databases are protected using strong passwords.
</p>
......
......@@ -18,7 +18,16 @@ Change Log
<h1>Change Log</h1>
<h2>Next Version (unreleased)</h2>
<ul><li>When using AUTO_SERVER=TRUE, the server is now started as a daemon thread.
<ul><li>New system property h2.analyzeAuto (default 0 meaning disabled) to
automatically run ANALYZE after that many changes to a table.
For details, see the Javadoc of this system property.
The plan is to set this property to 2000 in version 1.3.x.
</li><li>JdbcXAConnection.start() does not support TMJOIN. Issue 189.
</li><li>MySQL compatibility: TIMESTAMPDIFF is now an alias for DATEDIFF.
</li><li>MERGE did not respect foreign key and check constraints.
</li><li>ALTER TABLE ALTER COLUMN: changing the data type of a column
no longer makes it nullable.
</li><li>When using AUTO_SERVER=TRUE, the server is now started as a daemon thread.
This was a problem when using Tomcat and a connection pool.
</li><li>Servers can now be started as a daemon thread using the command line options
-tcpDaemon, -pgDaemon, and -webDaemon.
......@@ -26,12 +35,14 @@ Change Log
</li><li>REPLACE: if any parameter is null, the result is null.
</li><li>Queries with DISTINCT and ORDER BY will now use the index on ORDER BY if possible.
This is specially important for queries used inside IN(SELECT ...).
</li><li>The new statement EXPLAIN ANALYZE executes the statement,
</li><li>The new statement EXPLAIN ANALYZE executes the statement,
and displays the query plan with the actual row scan count for each table.
</li><li>H2 Console: the auto-complete feature didn't quote column names
that need quoting. Issue 186.
</li><li>The experimental LOB storage mechanism now supports all features of the
old one. To use it, set the system property "h2.lobInDatabase" to "true".
If you have used this feature in version 1.2.133, you need to export
and re-import the database using SCRIPT / RUNSCRIPT.
</li><li>The functions isBeforeFirst() and isAfterLast() were not compliant to the
JDBC spec. If the ResultSet contains no rows, they must return false. Fixed.
</li><li>Filesystem parameters like "split:" didn't work in server mode with baseDir set.
......
......@@ -24,6 +24,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
<h2>Version 1.3.x: Planned Changes</h2>
<ul><li>Lob storage: enable the system property h2.lobInDatabase by default.
</li><li>Automatic ANALYZE: set the system property h2.analyzeAuto to 2000.
</li></ul>
<h2>Priority 1</h2>
......
......@@ -230,11 +230,11 @@ press [Ctrl]+[C] in the console where the server was started (Windows),
or close the console window.
</p>
<h2 id="console_settings">Special H2 Console Syntax</h2>
<h2 id="console_syntax">Special H2 Console Syntax</h2>
<p>
The H2 Console supports a few built-in commands.
Those are interpreted within the H2 Console, that means they work with any database.
They need to be at the beginning of a statement (before any remarks),
They need to be at the beginning of a statement (before any remarks),
otherwise they are not parsed correctly. If in doubt, add ';' before the command.
</p>
<table>
......@@ -267,18 +267,18 @@ otherwise they are not parsed correctly. If in doubt, add ';' before the command
@tables null null TEST;<br />
</td>
<td>
Call the corresponding DatabaseMetaData.get method.
Call the corresponding DatabaseMetaData.get method.
Patterns are case sensitive (usually identifiers are uppercase).
For information about the parameters, see the Javadoc documentation.
Missing parameters at the end are set to null. The complete list of commands is:
<code>
@attributes @best_row_identifier @catalogs @columns
@column_privileges @cross_references @exported_keys
@imported_keys @index_info @primary_keys @procedures
@attributes @best_row_identifier @catalogs @columns
@column_privileges @cross_references @exported_keys
@imported_keys @index_info @primary_keys @procedures
@procedure_columns @schemas @super_tables @super_types
@tables @table_privileges @table_types @type_info @udts
@version_columns
</code>
@tables @table_privileges @table_types @type_info @udts
@version_columns
</code>
</td>
</tr>
<tr>
......@@ -327,10 +327,10 @@ otherwise they are not parsed correctly. If in doubt, add ';' before the command
@loop 1000 @statement select ?;
</td>
<td>
Run the statement this many times.
Parameters (<code>?</code>) are set using a loop from 0 up to x - 1.
Run the statement this many times.
Parameters (<code>?</code>) are set using a loop from 0 up to x - 1.
Random values are used for each <code>?/*rnd*/</code>.
A Statement object is used instead of a PreparedStatement if <code>@statement</code> is used.
A Statement object is used instead of a PreparedStatement if <code>@statement</code> is used.
Result sets are read until <code>ResultSet.next()</code> returns <code>false</code>.
Timing information is printed.
</td>
......@@ -386,7 +386,7 @@ otherwise they are not parsed correctly. If in doubt, add ';' before the command
@transaction_isolation&nbsp;2;
</td>
<td>
Display (without parameters) or change
Display (without parameters) or change
(with parameters 1, 2, 4, 8) the transaction isolation level.
</td>
</tr>
......
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.
......@@ -29,7 +29,7 @@ Initial Developer: H2 Group
><img src="icon_line.gif" class="iconLine" alt=""
/></td><td class="toolbar"><input type="checkbox" name="autoCommit" value="autoCommit"
onclick="javascript:
top.frames['h2result'].document.location='query.do?jsessionid=${sessionId}&amp;sql=@autocommit_' +
top.frames['h2result'].document.location='query.do?jsessionid=${sessionId}&amp;sql=@autocommit_' +
(document.header.autoCommit.checked ? 'true' : 'false') + '.';
"
/></td><td class="toolbar">${text.toolbar.autoCommit}&nbsp;</td><td class="toolbar"
......
......@@ -640,4 +640,5 @@ counting dtest fallback infix places formal extern destination stdout memmove
stdio printf jchar sizeof stdlib jbyte jint uint ujlong typedef jdouble stdint
jfloat wchar hotspot jvoid std ujint jlong vars jboolean calloc argc strlen
equivalent synchronizes sullivan surname doe stepan getstart rojas snprintf
pulakka pagination collide visual aejaks simulation joonas finland minneapolis
\ No newline at end of file
pulakka pagination collide visual aejaks simulation joonas finland minneapolis
determine timestampdiff
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论