提交 9923860a authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Use Database.isMVStore() in LocalResult

上级 d561394e
...@@ -292,7 +292,7 @@ public class LocalResult implements ResultInterface, ResultTarget { ...@@ -292,7 +292,7 @@ public class LocalResult implements ResultInterface, ResultTarget {
private void createExternalResult() { private void createExternalResult() {
Database database = session.getDatabase(); Database database = session.getDatabase();
external = database.getMvStore() != null external = database.isMVStore()
? MVTempResult.of(database, expressions, distinct, sort) ? MVTempResult.of(database, expressions, distinct, sort)
: new ResultTempTable(session, expressions, distinct, sort); : new ResultTempTable(session, expressions, distinct, sort);
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论