提交 6097f4d0 authored 作者: Thomas Mueller's avatar Thomas Mueller

Documentation

上级 2079431b
......@@ -18,7 +18,12 @@ Change Log
<h1>Change Log</h1>
<h2>Next Version (unreleased)</h2>
<ul><li>MVStore: descending indexes with "nulls first" did not work as expected
<ul><li>There was a way to prevent a database from being re-opened,
by creating a column constraint that references a table with a higher id.
This is now detected, and creating the table is prohibited.
In future versions of H2, most likely creating references to other
tables will no longer be supported because of such problems.
</li><li>MVStore: descending indexes with "nulls first" did not work as expected
(null was ordered last).
</li><li>Large result sets now always create temporary tables instead of temporary files.
</li><li>When using the PageStore, opening a database failed in some cases with a NullPointerException
......
......@@ -26,6 +26,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
<ul><li>Replace file password hash with file encryption key; validate encryption key when connecting.
</li><li>Remove "set binary collation" feature.
</li><li>Remove the encryption algorithm XTEA.
</li><li>Disallow referencing other tables in a table (via constraints for example).
</li></ul>
<h2>Version 1.4.x: Planned Changes</h2>
......
......@@ -782,7 +782,7 @@ public class MVMap<K, V> extends AbstractMap<K, V>
rewrite(root, set);
}
public int rewrite(Page p, Set<Integer> set) {
private int rewrite(Page p, Set<Integer> set) {
; // TODO write more tests
if (p.isLeaf()) {
long pos = p.getPos();
......@@ -838,7 +838,6 @@ public class MVMap<K, V> extends AbstractMap<K, V>
return writtenPageCount;
}
/**
* Get a cursor to iterate over a number of keys and values.
*
......
......@@ -43,9 +43,9 @@ TransactionStore:
if there is only one connection
MVStore:
- data kept in stream store if transaction is not committed?
- automated 'kill process' and 'power failure' test
- test and possibly improve compact operation (for large dbs)
- is data kept in the stream store if the transaction is not committed?
- automated 'kill process' and 'power failure' test
- compact: avoid processing pages using a counting bloom filter
- defragment (re-creating maps, specially those with small pages)
- store number of write operations per page (maybe defragment
......@@ -65,11 +65,11 @@ MVStore:
- remove features that are not really needed; simplify the code
possibly using a separate layer or tools
(retainVersion?)
- rename "store" to "save", as "store" is used in "storeVersion"
- MVStoreTool.dump should dump the data if possible;
possibly using a callback for serialization
- optional pluggable checksum mechanism (per page), which
requires that everything is a page (including headers)
- rename "store" to "save", as "store" is used in "storeVersion"
- rename setStoreVersion to setDataVersion, setSchemaVersion or similar
- temporary file storage
- simple rollback method (rollback to last committed version)
......
......@@ -384,8 +384,8 @@ java org.h2.test.TestAll timer
printSystemInfo();
// use lower values, to better test those cases,
// and to speed up the tests (for delays)
// and (for delays) to speed up the tests
System.setProperty("h2.maxMemoryRows", "100");
System.setProperty("h2.check2", "true");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论