mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved sql parser for mysql explain. for issue #1645
This commit is contained in:
@@ -2631,6 +2631,11 @@ public class SQLASTOutputVisitor extends SQLASTVisitorAdapter implements Paramet
|
||||
print(' ');
|
||||
printAndAccept(x.getHints(), " ");
|
||||
}
|
||||
|
||||
if (x.getType() != null) {
|
||||
print(' ');
|
||||
print0(x.getType());
|
||||
}
|
||||
println();
|
||||
x.getStatement().accept(this);
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user