mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
fix not support ALTER TABLE XXX ADD KEY xxx('xxx')
This commit is contained in:
@@ -1990,7 +1990,8 @@ public class SQLASTOutputVisitor extends SQLASTVisitorAdapter implements Printab
|
||||
print("UNIQUE ");
|
||||
}
|
||||
|
||||
print("INDEX ");
|
||||
print(x.getKeyOrIndex());
|
||||
print(" ");
|
||||
|
||||
if (x.getName() != null) {
|
||||
x.getName().accept(this);
|
||||
|
||||
Reference in New Issue
Block a user