mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved oracle sql parser. for pl/sql in_out parameter.
This commit is contained in:
@@ -3344,10 +3344,14 @@ public class SQLASTOutputVisitor extends SQLASTVisitorAdapter implements Paramet
|
||||
} else if (x.getParamType() == SQLParameter.ParameterType.OUT) {
|
||||
print0(ucase ? " OUT " : " out ");
|
||||
} else if (x.getParamType() == SQLParameter.ParameterType.INOUT) {
|
||||
print0(ucase ? " INOUT " : " inout ");
|
||||
print0(ucase ? " IN OUT " : " in out ");
|
||||
} else {
|
||||
print(' ');
|
||||
}
|
||||
|
||||
if (x.isNoCopy()) {
|
||||
print0(ucase ? "NOCOPY " : "nocopy ");
|
||||
}
|
||||
} else {
|
||||
if (x.getParamType() == SQLParameter.ParameterType.IN) {
|
||||
print0(ucase ? "IN " : "in ");
|
||||
|
||||
Reference in New Issue
Block a user