bug fixed for mysql parser & update pom version

This commit is contained in:
shaojin.wensj
2019-01-16 10:28:05 +08:00
parent 4ea0aeb0e2
commit 46062863f2
17 changed files with 317 additions and 40 deletions
@@ -2548,6 +2548,14 @@ public class SQLASTOutputVisitor extends SQLASTVisitorAdapter implements Paramet
}
public boolean visit(SQLInsertStatement x) {
List<SQLCommentHint> headHints = x.getHeadHintsDirect();
if (headHints != null) {
for (SQLCommentHint hint : headHints) {
hint.accept(this);
println();
}
}
if (x.isUpsert()) {
print0(ucase ? "UPSERT INTO " : "upsert into ");
} else {