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

--no commit message

--no commit message
上级 42967945
...@@ -714,8 +714,8 @@ public class Recover extends Tool implements DataHandler { ...@@ -714,8 +714,8 @@ public class Recover extends Tool implements DataHandler {
store.readFully(s.getBytes(), 0, 128); store.readFully(s.getBytes(), 0, 128);
s.setPos(48); s.setPos(48);
int pageSize = s.readInt(); int pageSize = s.readInt();
int writeVersion = (int) s.readByte(); int writeVersion = s.readByte();
int readVersion = (int) s.readByte(); int readVersion = s.readByte();
int systemTableRoot = s.readInt(); int systemTableRoot = s.readInt();
int freeListHead = s.readInt(); int freeListHead = s.readInt();
int logHead = s.readInt(); int logHead = s.readInt();
......
...@@ -26,7 +26,7 @@ public abstract class CacheObject { ...@@ -26,7 +26,7 @@ public abstract class CacheObject {
int pb = ((CacheObject) b).getPos(); int pb = ((CacheObject) b).getPos();
return pa == pb ? 0 : (pa < pb ? -1 : 1); return pa == pb ? 0 : (pa < pb ? -1 : 1);
} }
}; }
/** /**
* Ensure the class is loaded when initialized, so that sorting is possible * Ensure the class is loaded when initialized, so that sorting is possible
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论