提交 704966f5 authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 935db759
...@@ -141,8 +141,6 @@ public class Constants { ...@@ -141,8 +141,6 @@ public class Constants {
public static final int DEFAULT_MAX_MEMORY_ROWS = 10000; public static final int DEFAULT_MAX_MEMORY_ROWS = 10000;
public static final int DEFAULT_MAX_MEMORY_UNDO = Integer.MAX_VALUE;
public static final int DEFAULT_WRITE_DELAY = 500; public static final int DEFAULT_WRITE_DELAY = 500;
public static final String SERVER_PROPERTIES_TITLE = "H2 Server Properties"; public static final String SERVER_PROPERTIES_TITLE = "H2 Server Properties";
...@@ -252,6 +250,7 @@ public class Constants { ...@@ -252,6 +250,7 @@ public class Constants {
public static final int CACHE_SIZE_INDEX_SHIFT = getIntSetting("h2.cacheSizeIndexShift", 3); public static final int CACHE_SIZE_INDEX_SHIFT = getIntSetting("h2.cacheSizeIndexShift", 3);
public static final int CACHE_SIZE_INDEX_DEFAULT = CACHE_SIZE_DEFAULT >> CACHE_SIZE_INDEX_SHIFT; public static final int CACHE_SIZE_INDEX_DEFAULT = CACHE_SIZE_DEFAULT >> CACHE_SIZE_INDEX_SHIFT;
public static String BASE_DIR = getStringSetting("h2.baseDir", null); public static String BASE_DIR = getStringSetting("h2.baseDir", null);
public static final int DEFAULT_MAX_MEMORY_UNDO = getIntSetting("h2.defaultMaxMemoryUndo", Integer.MAX_VALUE);
public static void setBaseDir(String dir) { public static void setBaseDir(String dir) {
if(!dir.endsWith("/")) { if(!dir.endsWith("/")) {
......
...@@ -718,6 +718,7 @@ public class MetaTable extends Table { ...@@ -718,6 +718,7 @@ public class MetaTable extends Table {
add(rows, new String[]{"h2.lobCloseBetweenReads", "" + Constants.LOB_CLOSE_BETWEEN_READS}); add(rows, new String[]{"h2.lobCloseBetweenReads", "" + Constants.LOB_CLOSE_BETWEEN_READS});
add(rows, new String[]{"h2.allowBigDecimalExtensions", "" + Constants.ALLOW_BIG_DECIMAL_EXTENSIONS}); add(rows, new String[]{"h2.allowBigDecimalExtensions", "" + Constants.ALLOW_BIG_DECIMAL_EXTENSIONS});
add(rows, new String[]{"h2.baseDir", "" + Constants.BASE_DIR}); add(rows, new String[]{"h2.baseDir", "" + Constants.BASE_DIR});
add(rows, new String[]{"h2.defaultMaxMemoryUndo", "" + Constants.DEFAULT_MAX_MEMORY_UNDO});
break; break;
} }
case TYPE_INFO: { case TYPE_INFO: {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论