提交 2af978ff authored 作者: Thomas Mueller's avatar Thomas Mueller

Temporary files were not deleted when using large transactions.

上级 56737a34
...@@ -18,7 +18,9 @@ Change Log ...@@ -18,7 +18,9 @@ Change Log
<h1>Change Log</h1> <h1>Change Log</h1>
<h2>Next Version (unreleased)</h2> <h2>Next Version (unreleased)</h2>
<ul><li>Queries using multiple IN(..) conditions on the same table could cause repeated rows in the result set. <ul><li>Temporary files were not deleted when using large transactions, disabling autocommit,
and closing the session without committing.
<li>Queries using multiple IN(..) conditions on the same table could cause repeated rows in the result set.
</li><li>Translation: Lubomir Grajciar translated the H2 Console as well as all error message to Slovensky. Thanks a lot! </li><li>Translation: Lubomir Grajciar translated the H2 Console as well as all error message to Slovensky. Thanks a lot!
</li><li>There was a possible Java level deadlock when opening an uninitialized database and using </li><li>There was a possible Java level deadlock when opening an uninitialized database and using
a file system that also opened a database. a file system that also opened a database.
......
...@@ -555,6 +555,7 @@ public class Session extends SessionWithState implements SessionFactory { ...@@ -555,6 +555,7 @@ public class Session extends SessionWithState implements SessionFactory {
try { try {
database.checkPowerOff(); database.checkPowerOff();
cleanTempTables(true); cleanTempTables(true);
undoLog.clear();
database.removeSession(this); database.removeSession(this);
} finally { } finally {
closed = true; closed = true;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论