mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug fixed sqlserver alter parser. for issue #2301
This commit is contained in:
+8
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user