提交 3d7d2aaf authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 b682bd27
......@@ -683,7 +683,7 @@ public class Database implements DataHandler {
private void startServer(String key) throws SQLException {
server = Server.createTcpServer(
"-tcpPort", "0",
"-tcpAllowOthers", "true",
"-tcpAllowOthers",
"-key", key, databaseName);
server.start();
String address = NetUtils.getLocalAddress() + ":" + server.getPort();
......@@ -1236,6 +1236,7 @@ public class Database implements DataHandler {
if (flush) {
try {
pageStore.checkpoint();
pageStore.trim();
} catch (Throwable e) {
traceSystem.getTrace(Trace.DATABASE).error("close", e);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论