sql insert into direct support multi-values

This commit is contained in:
高铁
2016-05-15 00:32:42 +08:00
parent d93411e8a7
commit 186cfb6a80
7 changed files with 106 additions and 38 deletions
@@ -1067,11 +1067,11 @@ public class SQLASTOutputVisitor extends SQLASTVisitorAdapter implements Printab
decrementIndent();
}
if (x.getValues() != null) {
if (!x.getValuesList().isEmpty()) {
println();
print0(ucase ? "VALUES" : "values");
println();
x.getValues().accept(this);
printAndAccept(x.getValuesList(), ", ");
} else {
if (x.getQuery() != null) {
println();