mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved support hints.
This commit is contained in:
@@ -405,6 +405,14 @@ public class MySqlOutputVisitor extends SQLASTOutputVisitor implements MySqlASTV
|
||||
print0(charType.getCollate());
|
||||
}
|
||||
}
|
||||
|
||||
List<SQLCommentHint> hints = ((SQLCharacterDataType) x).hints;
|
||||
if (hints != null) {
|
||||
print(' ');
|
||||
for (SQLCommentHint hint : hints) {
|
||||
hint.accept(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
@@ -434,6 +442,14 @@ public class MySqlOutputVisitor extends SQLASTOutputVisitor implements MySqlASTV
|
||||
print0(x.getCollate());
|
||||
}
|
||||
|
||||
List<SQLCommentHint> hints = ((SQLCharacterDataType) x).hints;
|
||||
if (hints != null) {
|
||||
print(' ');
|
||||
for (SQLCommentHint hint : hints) {
|
||||
hint.accept(this);
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user