提交 ef9a67cb authored 作者: Thomas Mueller's avatar Thomas Mueller

Page size is a system property (good for testing).

上级 dbb83a90
...@@ -540,6 +540,12 @@ public class SysProperties { ...@@ -540,6 +540,12 @@ public class SysProperties {
*/ */
public static final boolean OVERFLOW_EXCEPTIONS = getBooleanSetting("h2.overflowExceptions", true); public static final boolean OVERFLOW_EXCEPTIONS = getBooleanSetting("h2.overflowExceptions", true);
/**
* System property <code>h2.pageSize</code> (default: 2048).<br />
* The page size to use for new databases.
*/
public static final int PAGE_SIZE = getIntSetting("h2.pageSize", 2048);
/** /**
* System property <code>h2.pageStore</code>.<br /> * System property <code>h2.pageStore</code>.<br />
* Use the 'page store' database file format for new databases. * Use the 'page store' database file format for new databases.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论