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

The jarSmall build target no longer includes assertions (SysProperties.CHECK,…

The jarSmall build target no longer includes assertions (SysProperties.CHECK, CHECK2, system properties h2.check and h2.check2).
上级 ca8fbfc8
......@@ -164,13 +164,25 @@ public class SysProperties {
* System property <code>h2.check</code> (default: true).<br />
* Assertions in the database engine.
*/
/*## CHECK begin ##
public static final boolean CHECK = getBooleanSetting("h2.check", true);
## CHECK end ##*/
//## NO_CHECK begin ##
public static final boolean CHECK = false;
//## NO_CHECK end ##
/**
* System property <code>h2.check2</code> (default: true).<br />
* Additional assertions in the database engine.
*/
/*## CHECK begin ##
public static final boolean CHECK2 = getBooleanSetting("h2.check2", false);
## CHECK end ##*/
//## NO_CHECK begin ##
public static final boolean CHECK2 = false;
//## NO_CHECK end ##
/**
* System property <code>h2.clientTraceDirectory</code> (default:
......@@ -580,14 +592,6 @@ public class SysProperties {
*/
public static final int REDO_BUFFER_SIZE = getIntSetting("h2.redoBufferSize", 256 * 1024);
/**
* System property <code>h2.reserveMemory</code> (default: 524288).<br />
* This many bytes in main memory are allocated as a reserve. This reserve
* is freed up when if no memory is available, so that rolling back a large
* transaction is easier.
*/
public static final int RESERVE_MEMORY = getIntSetting("h2.reserveMemory", 512 * 1024);
/**
* System property <code>h2.returnLobObjects</code> (default: true).<br />
* When true, ResultSet.getObject for CLOB or BLOB will return a
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论