提交 b6c5b74c authored 作者: christian.peter.io's avatar christian.peter.io

Don't process a lob directory, just the files in the directory

上级 0e7a0ae9
......@@ -20,7 +20,8 @@ Change Log
<h2>Next Version (unreleased)</h2>
<ul><li>New committer: Christian Peter. He works for <a href="http://www.docware.com">Docware</a> and
helped a lot finding and fixing bugs, and generally improving the database. He is now a committer.
<li>Issue 121: JaQu: new simple update and merge methods.
</li><li>ChangeFileEncryption did not work with Lob subdirectories. Fixed.
</li><li>Issue 121: JaQu: new simple update and merge methods.
</li><li>Issue 120: JaQu didn't close result sets.
</li><li>Issue 119: JaQu creates wrong WHERE conditions on some inputs.
</li><li>The new page store mechanism is now alpha-level quality. The next release
......
......@@ -152,7 +152,10 @@ public class ChangeFileEncryption extends Tool {
// TODO changeFileEncryption: this is a workaround!
// make the operation atomic (all files or none)
for (String fileName : files) {
change.process(fileName);
// Don't process a lob directory, just the files in the directory.
if (!FileUtils.isDirectory(fileName)) {
change.process(fileName);
}
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论