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

Documentation.

上级 3e545918
......@@ -726,10 +726,10 @@ DROP VIEW TEST_VIEW
"Commands (DDL)","TRUNCATE TABLE","
TRUNCATE TABLE tableName
","
Removes all rows from a table. Other than DELETE FROM without where clause, this
Removes all rows from a table. Unlike DELETE FROM without where clause, this
command can not be rolled back. This command is faster than DELETE without where
clause. Only regular data tables without foreign key constraints can be
truncated.
truncated. Linked tables can't be truncated.
This command commits an open transaction.
","
......@@ -1390,7 +1390,7 @@ closed automatically when the last connection to it is closed.
If no option is used, then the database is closed normally.
All connections are closed, open transactions are rolled back.
COMPACT fully compacts the database.
COMPACT compacts the database (re-creating the database may further reduce the database size).
IMMEDIATELY closes the database files without any cleanup.
Admin rights are required to execute this command.
......
......@@ -18,7 +18,11 @@ Change Log
<h1>Change Log</h1>
<h2>Next Version (unreleased)</h2>
<ul><li>MVCC: if the table was locked in exclusive mode (such as SELECT ... FOR UPDATE), another session
<ul><li>Comparing an column against a constant expression with a higher precision or length
than the column could give wrong results (the expression was truncated before comparing).
</li><li>Improved PostgreSQL compatibility (support SHOW DEFAULT_TRANSACTION_ISOLATION).
</li><li>Documentation: the javadocs for Csv.write and read used the wrong default charset.
</li><li>MVCC: if the table was locked in exclusive mode (such as SELECT ... FOR UPDATE), another session
could query the table. This is now longer possible.
</li><li>If a FOR UPDATE query was executed twice (using a PreparedStatement), the table was not locked.
</li><li>Triggers: INSTEAD OF triggers are now supported.
......
......@@ -79,6 +79,8 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
</li><li>Set a connection read only (Connection.setReadOnly) or using a connection parameter
</li><li>Optimizer: use an index for IS NULL and IS NOT NULL (including linked tables).
ID IS NOT NULL could be converted to ID &gt;= Integer.MIN_VALUE.
</li><li>Access rights: remember the owner of an object. COMMENT: allow owner of object to change it.
</li><li>Access rights: finer grained access control (grant access for specific functions)
</li><li>Suggestion: include Jetty as Servlet Container (like LAMP)
</li><li>Trace shipping to server
</li><li>Version check: docs / web console (using Javascript), and maybe in the library (using TCP/IP)
......@@ -233,8 +235,6 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
</li><li>Index usage for REGEXP LIKE.
</li><li>Compatibility: add a role DBA (like ADMIN).
</li><li>Better support multiple processors for in-memory databases.
</li><li>Access rights: remember the owner of an object. COMMENT: allow owner of object to change it.
</li><li>Access rights: finer grained access control (grant access for specific functions)
</li><li>Support N'text'
</li><li>Pure SQL triggers (example: update parent table if the child table is changed).
</li><li>In MySQL mode, for AUTO_INCREMENT columns, don't set the primary key
......@@ -472,6 +472,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
</li><li>Issue 156: Support SELECT ? UNION SELECT ?.
</li><li>Automatic mixed mode: support a port range list (to avoid firewall problems).
</li><li>Support the pseudo column rowid, oid, _rowid_.
</li><li>Support TRUNCATE for linked tables.
</li></ul>
<h2>Not Planned</h2>
......
......@@ -299,6 +299,8 @@ java org.h2.test.TestAll timer
/*
union problem
power failure test: larger binaries and additional indexes
(with many columns).
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论