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

Page store: a rollback of a relatively large transaction could fail.

上级 076f9a9c
......@@ -90,7 +90,6 @@ public class UndoLogRecord {
if (state == IN_MEMORY_INVALID) {
if (!db.isPageStoreEnabled()) {
Index index = table.getUniqueIndex();
row.setPos(0);
Cursor cursor = index.find(session, row, row);
cursor.next();
// can not just set the position, because the row
......
......@@ -139,7 +139,7 @@ public class TestMemoryUsage extends TestBase {
System.gc();
System.gc();
int used = MemoryUtils.getMemoryUsed();
if ((used - start) > 7500) {
if ((used - start) > getSize(7500, 12000)) {
fail("Used: " + (used - start));
}
stat.execute("drop table test");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论