提交 4a89379c authored 作者: Thomas Mueller's avatar Thomas Mueller

Documentation.

上级 c15ef014
...@@ -18,7 +18,9 @@ Change Log ...@@ -18,7 +18,9 @@ Change Log
<h1>Change Log</h1> <h1>Change Log</h1>
<h2>Next Version (unreleased)</h2> <h2>Next Version (unreleased)</h2>
<ul><li>Server tool: the tcpShutdown feature now also stops other servers (web server and PostgreSQL server). <ul><li>Lob in database: after the process was killed while adding a lob,
inserting a lob could throw an exception (primary key violation in LOB_MAP).
</li><li>Server tool: the tcpShutdown feature now also stops other servers (web server and PostgreSQL server).
</li><li>Server tool: the tcpShutdown url must now end with the port if the port is used. </li><li>Server tool: the tcpShutdown url must now end with the port if the port is used.
</li><li>Server tool: when starting one service fails, the started services are now stopped. </li><li>Server tool: when starting one service fails, the started services are now stopped.
</li><li>Multi-version concurrency: SELECT ... FOR UPDATE threw a "concurrent update" exception immediately </li><li>Multi-version concurrency: SELECT ... FOR UPDATE threw a "concurrent update" exception immediately
...@@ -106,7 +108,7 @@ when "LOBs in database" is enabled). ...@@ -106,7 +108,7 @@ when "LOBs in database" is enabled).
</li><li>When concurrently preparing many statements with a subquery, in some cases the query didn't run </li><li>When concurrently preparing many statements with a subquery, in some cases the query didn't run
(Column "..." must be in the GROUP BY list). (Column "..." must be in the GROUP BY list).
</li><li>CallableStatement: now the syntax "{? = CALL...}" is supported as well. </li><li>CallableStatement: now the syntax "{? = CALL...}" is supported as well.
</li><li>Issue Lob in databases: two small BLOB or CLOB values were always considered equal. </li><li>Lob in databases: two small BLOB or CLOB values were always considered equal.
This also affected unique indexes. This also affected unique indexes.
</li><li>The shutdown hook is (re-) enabled by default even for H2 version 1.3.x. </li><li>The shutdown hook is (re-) enabled by default even for H2 version 1.3.x.
</li><li>When creating a database from a recovery script, the same user can now be used </li><li>When creating a database from a recovery script, the same user can now be used
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -182,6 +182,10 @@ public abstract class PageBtree extends Page { ...@@ -182,6 +182,10 @@ public abstract class PageBtree extends Page {
return row; return row;
} }
/**
* The memory usage of this page was changed. Propagate the change if
* needed.
*/
protected void memoryChange() { protected void memoryChange() {
// nothing to do // nothing to do
} }
......
...@@ -103,7 +103,7 @@ public class WebServer implements Service { ...@@ -103,7 +103,7 @@ public class WebServer implements Service {
// String s = IOUtils.readStringAndClose(new java.io.FileReader( // String s = IOUtils.readStringAndClose(new java.io.FileReader(
// // "src/main/org/h2/server/web/res/_text_cs.prop"), -1); // // "src/main/org/h2/server/web/res/_text_cs.prop"), -1);
// "src/main/org/h2/res/_messages_cs.prop"), -1); // "src/main/org/h2/res/_messages_cs.prop"), -1);
// System.out.println(StringUtils.javaEncode("Čeština")); // System.out.println(StringUtils.javaEncode("..."));
// String[] list = Locale.getISOLanguages(); // String[] list = Locale.getISOLanguages();
// for (int i = 0; i < list.length; i++) { // for (int i = 0; i < list.length; i++) {
// System.out.print(list[i] + " "); // System.out.print(list[i] + " ");
......
...@@ -85,7 +85,7 @@ resultEdit.cancel=Zrušit ...@@ -85,7 +85,7 @@ resultEdit.cancel=Zrušit
resultEdit.delete=Smazat resultEdit.delete=Smazat
resultEdit.edit=Upravit resultEdit.edit=Upravit
resultEdit.editResult=Upravit resultEdit.editResult=Upravit
resultEdit.save=Uložit resultEdit.save=Uložit
toolbar.all=Vše toolbar.all=Vše
toolbar.autoCommit=Automatické vkládání toolbar.autoCommit=Automatické vkládání
toolbar.autoComplete=Automatické dokončování toolbar.autoComplete=Automatické dokončování
......
...@@ -41,7 +41,7 @@ public class CacheLRU implements Cache { ...@@ -41,7 +41,7 @@ public class CacheLRU implements Cache {
*/ */
private int memory; private int memory;
private CacheLRU(CacheWriter writer, int maxMemoryKb) { CacheLRU(CacheWriter writer, int maxMemoryKb) {
this.setMaxMemory(maxMemoryKb); this.setMaxMemory(maxMemoryKb);
this.writer = writer; this.writer = writer;
this.len = MathUtils.nextPowerOf2(maxMemory / 64); this.len = MathUtils.nextPowerOf2(maxMemory / 64);
......
...@@ -665,4 +665,6 @@ mbeans unregisters subtracting multiplying dividing contended bindings ...@@ -665,4 +665,6 @@ mbeans unregisters subtracting multiplying dividing contended bindings
projection managing observer misuse windowed discriminator abort familiar rice projection managing observer misuse windowed discriminator abort familiar rice
reachable mind develop disposition extras arithmetics readwrite syncable reachable mind develop disposition extras arithmetics readwrite syncable
requeried requery closable curr outdated market accurate borg theis welford requeried requery closable curr outdated market accurate borg theis welford
ooq exceeded eye prevention ooq exceeded eye hannibal stels garringer
czech prevention
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论