提交 e8725b5f authored 作者: Thomas Mueller Graf's avatar Thomas Mueller Graf

Windows / PageStore storage: the cooperative file locking mechanism did not always work

上级 f67764e8
......@@ -21,6 +21,8 @@ Change Log
<h2>Next Version (unreleased)</h2>
<ul>
<li>Windows / PageStore storage: the cooperative file locking mechanism
did not always work as expected.
<li>Temporary CLOB and BLOB objects are now removed while the database is open
(and not just when closing the database).
</li>
......
......@@ -365,6 +365,7 @@ public class FileLock implements Runnable {
fileName = null;
throw getExceptionFatal("Concurrent update", null);
}
locked = true;
watchdog = new Thread(this, "H2 File Lock Watchdog " + fileName);
Driver.setThreadContextClassLoader(watchdog);
watchdog.setDaemon(true);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论