提交 2c65762f authored 作者: Thomas Mueller's avatar Thomas Mueller

Documentation.

上级 5eb04dac
...@@ -548,10 +548,14 @@ CREATE SCHEMA TEST_SCHEMA AUTHORIZATION SA ...@@ -548,10 +548,14 @@ CREATE SCHEMA TEST_SCHEMA AUTHORIZATION SA
CREATE SEQUENCE [ IF NOT EXISTS ] newSequenceName [ START WITH long ] CREATE SEQUENCE [ IF NOT EXISTS ] newSequenceName [ START WITH long ]
[ INCREMENT BY long ] [ CACHE long ] [ INCREMENT BY long ] [ CACHE long ]
"," ","
Creates a new sequence. The data type of a sequence is BIGINT. Used values are Creates a new sequence.
never re-used, even when the transaction is rolled back. The cache is the number The data type of a sequence is BIGINT.
of pre-allocated numbers. If the system crashes without closing the database, at Used values are never re-used, even when the transaction is rolled back.
most this many numbers are lost. The default cache size is 32.
The cache is the number of pre-allocated numbers.
If the system crashes without closing the database, at most this many numbers are lost.
The default cache size is 32.
To disable caching, use the cache size 1 or lower.
This command commits an open transaction. This command commits an open transaction.
"," ","
......
...@@ -19,7 +19,10 @@ Change Log ...@@ -19,7 +19,10 @@ Change Log
<h1>Change Log</h1> <h1>Change Log</h1>
<h2>Next Version (unreleased)</h2> <h2>Next Version (unreleased)</h2>
<ul><li>Updateable result sets: if the value is not set when inserting a new row, <ul><li>Sequences with cache size smaller than 0 did not work correctly.
</li><li>Issue 356: for Blob objects, InputStream.skip() returned 0,
causing EOFException in Blob.getBytes(.., ..).
</li><li>Updateable result sets: if the value is not set when inserting a new row,
the default value is now used (the same behavior as MySQL, PostgreSQL, and Apache Derby) the default value is now used (the same behavior as MySQL, PostgreSQL, and Apache Derby)
instead of NULL. instead of NULL.
</li><li>Conditions of the form IN(SELECT ...) where slow and increased the database size </li><li>Conditions of the form IN(SELECT ...) where slow and increased the database size
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论