mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved sql parser.
This commit is contained in:
@@ -423,12 +423,7 @@ public class MySqlOutputVisitor extends SQLASTOutputVisitor implements MySqlASTV
|
||||
|
||||
@Override
|
||||
public boolean visit(SQLCharacterDataType x) {
|
||||
print0(x.getName());
|
||||
if (!x.getArguments().isEmpty()) {
|
||||
print('(');
|
||||
printAndAccept(x.getArguments(), ", ");
|
||||
print(')');
|
||||
}
|
||||
printDataType(x);
|
||||
|
||||
if (x.isHasBinary()) {
|
||||
print0(ucase ? " BINARY " : " binary ");
|
||||
|
||||
Reference in New Issue
Block a user