提交 3fe63b03 authored 作者: andrei's avatar andrei

Table analysis done after locks release will leave behind some locks

上级 b4f16fe3
......@@ -697,7 +697,6 @@ public class Session extends SessionWithState {
autoCommitAtTransactionEnd = false;
}
}
endTransaction();
int rows = getDatabase().getSettings().analyzeSample / 10;
if (tablesToAnalyze != null) {
......@@ -708,6 +707,8 @@ public class Session extends SessionWithState {
database.unlockMeta(this);
}
tablesToAnalyze = null;
endTransaction();
}
private void removeTemporaryLobs(boolean onTimeout) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论