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

--no commit message

--no commit message
上级 d3609029
...@@ -243,7 +243,7 @@ public class Storage { ...@@ -243,7 +243,7 @@ public class Storage {
} }
// if we came here, all free records must be in the list // if we came here, all free records must be in the list
// otherwise it would have returned early // otherwise it would have returned early
if (SysProperties.CHECK && freeCount > freeList.size()) { if (SysProperties.CHECK2 && freeCount > freeList.size()) {
throw Message.getInternalError("freeCount expected " + freeList.size() + ", got: " + freeCount); throw Message.getInternalError("freeCount expected " + freeList.size() + ", got: " + freeCount);
} }
freeCount = freeList.size(); freeCount = freeList.size();
......
...@@ -268,6 +268,7 @@ java org.h2.test.TestAll timer ...@@ -268,6 +268,7 @@ java org.h2.test.TestAll timer
TestAll test = new TestAll(); TestAll test = new TestAll();
test.printSystem(); test.printSystem();
System.setProperty("h2.maxMemoryRowsDistinct", "128"); System.setProperty("h2.maxMemoryRowsDistinct", "128");
System.setProperty("h2.check2", "true");
/* /*
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论