bug fixed sqlserver alter parser. for issue #2301

This commit is contained in:
wenshao
2018-01-31 10:20:49 +08:00
parent 5a74b65d73
commit 2a4b2e0a9b
5 changed files with 68 additions and 3 deletions
@@ -633,4 +633,12 @@ public class SQLServerOutputVisitor extends SQLASTOutputVisitor implements SQLSe
printExpr(x.getSequence());
return false;
}
@Override
public boolean visit(SQLAlterTableAddColumn x) {
boolean odps = isOdps();
print0(ucase ? "ADD " : "add ");
printAndAccept(x.getColumns(), ", ");
return false;
}
}