提交 3ef155d0 authored 作者: noelgrandin's avatar noelgrandin

the "modificationIdState" field is no longer used and can be removed

上级 aac42e5f
...@@ -99,7 +99,6 @@ public class Session extends SessionWithState { ...@@ -99,7 +99,6 @@ public class Session extends SessionWithState {
private boolean commitOrRollbackDisabled; private boolean commitOrRollbackDisabled;
private Table waitForLock; private Table waitForLock;
private int modificationId; private int modificationId;
private int modificationIdState;
private int objectId; private int objectId;
private final int queryCacheSize; private final int queryCacheSize;
private SmallLRUCache<String, Command> queryCache; private SmallLRUCache<String, Command> queryCache;
...@@ -665,10 +664,8 @@ public class Session extends SessionWithState { ...@@ -665,10 +664,8 @@ public class Session extends SessionWithState {
} }
} }
savepoints = null; savepoints = null;
if (modificationIdState != modificationId) {
sessionStateChanged = true; sessionStateChanged = true;
} }
}
private void cleanTempTables(boolean closeSession) { private void cleanTempTables(boolean closeSession) {
if (localTempTables != null && localTempTables.size() > 0) { if (localTempTables != null && localTempTables.size() > 0) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论