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

Improved error message if the LOB files are already deleted on the client side.

上级 c5c89f63
...@@ -18,7 +18,8 @@ Change Log ...@@ -18,7 +18,8 @@ Change Log
<h1>Change Log</h1> <h1>Change Log</h1>
<h2>Next Version (unreleased)</h2> <h2>Next Version (unreleased)</h2>
<ul><li>Closing a Statement or PreparedStatement at the same time as executing a statement <ul><li>Improved error message if the LOB files are already deleted on the client side.
</li><li>Closing a Statement or PreparedStatement at the same time as executing a statement
could throw a strange exception. Issue 241. could throw a strange exception. Issue 241.
</li><li>The Recover tool did not work with compressed lob files (set compress_lob lzf). </li><li>The Recover tool did not work with compressed lob files (set compress_lob lzf).
Also, sometimes the Recover tool was very slow, specially using a 64-bit JVM, because Also, sometimes the Recover tool was very slow, specially using a 64-bit JVM, because
......
...@@ -610,7 +610,7 @@ public class SessionRemote extends SessionWithState implements DataHandler { ...@@ -610,7 +610,7 @@ public class SessionRemote extends SessionWithState implements DataHandler {
public FileStore openFile(String name, String mode, boolean mustExist) { public FileStore openFile(String name, String mode, boolean mustExist) {
if (mustExist && !IOUtils.exists(name)) { if (mustExist && !IOUtils.exists(name)) {
throw DbException.get(ErrorCode.FILE_CORRUPTED_1, name); throw DbException.get(ErrorCode.FILE_NOT_FOUND_1, name);
} }
FileStore store; FileStore store;
if (cipher == null) { if (cipher == null) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论