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

Improved debugging info

上级 d10020ce
...@@ -215,4 +215,8 @@ public abstract class DbObjectBase implements DbObject { ...@@ -215,4 +215,8 @@ public abstract class DbObjectBase implements DbObject {
} }
} }
public String toString() {
return objectName + ":" + id + ":" + super.toString();
}
} }
...@@ -1413,6 +1413,7 @@ public class Recover extends Tool implements DataHandler { ...@@ -1413,6 +1413,7 @@ public class Recover extends Tool implements DataHandler {
} }
private void writeSchema(PrintWriter writer) { private void writeSchema(PrintWriter writer) {
writer.println("----------- schema -----------");
MetaRecord.sort(schema); MetaRecord.sort(schema);
for (MetaRecord m : schema) { for (MetaRecord m : schema) {
String sql = m.getSQL(); String sql = m.getSQL();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论