提交 de289f78 authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Use MVTempResult unconditionally

上级 54638fd3
...@@ -301,12 +301,8 @@ public class LocalResultImpl implements LocalResult { ...@@ -301,12 +301,8 @@ public class LocalResultImpl implements LocalResult {
} }
private void createExternalResult() { private void createExternalResult() {
Database database = session.getDatabase(); external = MVTempResult.of(session.getDatabase(), expressions, distinct, distinctIndexes, visibleColumnCount,
external = database.isMVStore() sort);
|| /* not supported by ResultTempTable */ distinct && expressions.length != visibleColumnCount
|| distinctIndexes != null
? MVTempResult.of(database, expressions, distinct, distinctIndexes, visibleColumnCount, sort)
: new ResultTempTable(session, expressions, distinct, sort);
} }
/** /**
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论