提交 d0282e54 authored 作者: Noel Grandin's avatar Noel Grandin

Issue #430: Subquery not cached if number of rows exceeds MAX_MEMORY_ROWS

上级 b6a60e98
......@@ -21,6 +21,8 @@ Change Log
<h2>Next Version (unreleased)</h2>
<ul>
<li>#430: Subquery not cached if number of rows exceeds MAX_MEMORY_ROWS
</li>
<li>#411: "TIMEZONE" should be "TIME ZONE" in type "TIMESTAMP WITH TIMEZONE"
</li>
<li>PR #418, Implement Connection#createArrayOf and PreparedStatement#setArray
......
......@@ -46,7 +46,7 @@ public class ConditionInSelect extends Condition {
if (!query.hasOrder()) {
query.setDistinct(true);
}
try (LocalResult rows = query.query(0)) {
LocalResult rows = query.query(0);
Value l = left.getValue(session);
if (rows.getRowCount() == 0) {
return ValueBoolean.get(all);
......@@ -73,7 +73,6 @@ public class ConditionInSelect extends Condition {
}
return ValueBoolean.get(false);
}
}
private Value getValueSlow(LocalResult rows, Value l) {
// this only returns the correct result if the result has at least one
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论