提交 83ffe3f8 authored 作者: Thomas Mueller's avatar Thomas Mueller

Conditions of the form IN(SELECT ...) where slow and increased the database size…

Conditions of the form IN(SELECT ...) where slow and increased the database size if the subquery result size was larger then the configured MAX_MEMORY_ROWS.
上级 689aeb8f
......@@ -78,7 +78,10 @@ public class ResultTempTable implements ResultExternal {
}
public synchronized ResultExternal createShallowCopy() {
if (closed || parent != null) {
if (parent != null) {
return parent.createShallowCopy();
}
if (closed) {
return null;
}
childCount++;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论