improved oracle pl/sql parser.

This commit is contained in:
wenshao
2017-05-12 14:31:42 +08:00
parent 7cd62c0eb7
commit b70bbb2add
5 changed files with 184 additions and 6 deletions
@@ -3216,7 +3216,11 @@ public class SQLASTOutputVisitor extends SQLASTVisitorAdapter implements Paramet
public boolean visit(SQLFetchStatement x) {
print0(ucase ? "FETCH " : "fetch ");
x.getCursorName().accept(this);
print0(ucase ? " INTO " : " into ");
if (x.isBulkCollect()) {
print0(ucase ? " BULK COLLECT INTO " : " bulk collect into ");
} else {
print0(ucase ? " INTO " : " into ");
}
printAndAccept(x.getInto(), ", ");
return false;
}