提交 36350d2e authored 作者: Andrei Tokar's avatar Andrei Tokar

TestCrashAPI-NPE

上级 1b622ef8
...@@ -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++;
localTempTables.remove(table.getName()); if (localTempTables != null) {
localTempTables.remove(table.getName());
}
synchronized (database) { synchronized (database) {
table.removeChildrenAndResources(this); table.removeChildrenAndResources(this);
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论