improved sql parser. bug fixed for issue #2337

This commit is contained in:
wenshao
2018-02-12 09:38:40 +08:00
parent 798564a4bf
commit ceca2af674
2 changed files with 70 additions and 1 deletions
@@ -4049,7 +4049,7 @@ public class SQLASTOutputVisitor extends SQLASTVisitorAdapter implements Paramet
@Override
public boolean visit(SQLRevokeStatement x) {
print0(ucase ? "ROVOKE " : "rovoke ");
print0(ucase ? "REVOKE " : "revoke ");
printAndAccept(x.getPrivileges(), ", ");
if (x.getOn() != null) {