bug fixed for oracle sql parser delete statement alias output. for issue #1725

This commit is contained in:
wenshao
2017-05-11 06:51:16 +08:00
parent 6c8169b1fb
commit f10921ec8f
2 changed files with 67 additions and 3 deletions
@@ -245,13 +245,12 @@ public class OracleOutputVisitor extends SQLASTOutputVisitor implements OracleAS
print0(ucase ? "ONLY (" : "only (");
x.getTableName().accept(this);
print(')');
printAlias(x.getAlias());
} else {
x.getTableSource().accept(this);
}
printAlias(x.getAlias());
if (x.getWhere() != null) {
println();
incrementIndent();