提交 1dfe2bb5 authored 作者: Thomas Mueller's avatar Thomas Mueller

Improved EXPLAIN plan formatting and documentation.

上级 9f3eec27
...@@ -951,9 +951,9 @@ public class Select extends Query { ...@@ -951,9 +951,9 @@ public class Select extends Query {
// indexes may be incorrect: ? may be in fact ?2 for a subquery // indexes may be incorrect: ? may be in fact ?2 for a subquery
// but indexes may be set manually as well // but indexes may be set manually as well
Expression[] exprList = expressions.toArray(new Expression[expressions.size()]); Expression[] exprList = expressions.toArray(new Expression[expressions.size()]);
StatementBuilder buff = new StatementBuilder("SELECT "); StatementBuilder buff = new StatementBuilder("SELECT");
if (distinct) { if (distinct) {
buff.append("DISTINCT "); buff.append(" DISTINCT");
} }
for (int i = 0; i < visibleColumnCount; i++) { for (int i = 0; i < visibleColumnCount; i++) {
buff.appendExceptFirst(","); buff.appendExceptFirst(",");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论