Unverified 提交 83ecb60f authored 作者: Andrei Tokar's avatar Andrei Tokar 提交者: GitHub

Merge pull request #1696 from h2database/test_crash_api

TestCrashAPI-NPE: fix for #1354
...@@ -411,7 +411,9 @@ public class Session extends SessionWithState implements TransactionStore.Rollba ...@@ -411,7 +411,9 @@ public class Session extends SessionWithState implements TransactionStore.Rollba
boolean wasLocked = database.lockMeta(this); boolean wasLocked = database.lockMeta(this);
try { try {
modificationId++; modificationId++;
if (localTempTables != null) {
localTempTables.remove(table.getName()); localTempTables.remove(table.getName());
}
synchronized (database) { synchronized (database) {
table.removeChildrenAndResources(this); table.removeChildrenAndResources(this);
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论