提交 62532dbf authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 85b6ffd6
......@@ -18,7 +18,10 @@ Change Log
<h1>Change Log</h1>
<h2>Next Version (unreleased)</h2>
<ul><li>The database supports the SHOW command for better MySQL and PostgreSQL compatibility.
<ul><li>LINKED TABLE: worked around a bug in Oracle with the CHAR data type.
</li><li>Faster hash code calculation for large binary arrays.
</li><li>Faster storage re-use algorithm thanks to Greg Dhuse from cleversafe.com.
</li><li>The database supports the SHOW command for better MySQL and PostgreSQL compatibility.
</li><li>The H2 Console now abbreviates large texts in results.
</li><li>Multiple UNION queries could not be used in derived tables.
</li><li>Linked tables can now be read-only.
......
......@@ -507,12 +507,14 @@ public class Session implements SessionInterface {
throw Message.getInternalError();
}
}
synchronized (database) {
for (int i = 0; i < locks.size(); i++) {
Table t = (Table) locks.get(i);
t.unlock(this);
if (locks.size() > 0) {
synchronized (database) {
for (int i = 0; i < locks.size(); i++) {
Table t = (Table) locks.get(i);
t.unlock(this);
}
locks.clear();
}
locks.clear();
}
savepoints = null;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论