mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved oracle pl/sql parser.
This commit is contained in:
+1
-1
@@ -1059,7 +1059,7 @@ public class OracleStatementParser extends SQLStatementParser {
|
||||
lexer.nextToken();
|
||||
}
|
||||
|
||||
if (lexer.token() == Token.IDENTIFIER) {
|
||||
if (lexer.token() == Token.IDENTIFIER || lexer.token() == Token.CURSOR) {
|
||||
parserParameters(block.getParameters(), block);
|
||||
for (SQLParameter param : block.getParameters()) {
|
||||
param.setParent(block);
|
||||
|
||||
Reference in New Issue
Block a user