提交 8000a258 authored 作者: Thomas Mueller's avatar Thomas Mueller

Deleting a database using the tool DeleteDbFiles deleted LOB files of other…

Deleting a database using the tool DeleteDbFiles deleted LOB files of other databases in the same directory.
上级 edeb86b6
...@@ -63,8 +63,10 @@ public class FileLister { ...@@ -63,8 +63,10 @@ public class FileLister {
} else if (f.endsWith(Constants.SUFFIX_LOG_FILE)) { } else if (f.endsWith(Constants.SUFFIX_LOG_FILE)) {
ok = true; ok = true;
} else if (f.endsWith(Constants.SUFFIX_LOBS_DIRECTORY)) { } else if (f.endsWith(Constants.SUFFIX_LOBS_DIRECTORY)) {
if (FileUtils.fileStartsWith(f, start + ".")) {
files.addAll(getDatabaseFiles(f, null, all)); files.addAll(getDatabaseFiles(f, null, all));
ok = true; ok = true;
}
} else if (f.endsWith(Constants.SUFFIX_LOB_FILE)) { } else if (f.endsWith(Constants.SUFFIX_LOB_FILE)) {
ok = true; ok = true;
} else if (f.endsWith(Constants.SUFFIX_PAGE_FILE)) { } else if (f.endsWith(Constants.SUFFIX_PAGE_FILE)) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论