mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved h2 parser.
This commit is contained in:
@@ -2363,6 +2363,10 @@ public class SQLASTOutputVisitor extends SQLASTVisitorAdapter implements Paramet
|
||||
visitColumnDefault(x);
|
||||
}
|
||||
|
||||
if (x.isAutoIncrement()) {
|
||||
print0(ucase ? " AUTO_INCREMENT" : " auto_increment");
|
||||
}
|
||||
|
||||
for (SQLColumnConstraint item : x.getConstraints()) {
|
||||
boolean newLine = item instanceof SQLForeignKeyConstraint //
|
||||
|| item instanceof SQLPrimaryKey //
|
||||
|
||||
Reference in New Issue
Block a user