mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug fixed for sql parsre parameterized.
This commit is contained in:
@@ -669,10 +669,9 @@ public class MySqlOutputVisitor extends SQLASTOutputVisitor implements MySqlASTV
|
||||
|
||||
public boolean visit(SQLVariantRefExpr x) {
|
||||
{
|
||||
int parametersSize = this.getParametersSize();
|
||||
int index = x.getIndex();
|
||||
|
||||
if (index >= 0 && index < parametersSize) {
|
||||
if (inputParameters != null && index < inputParameters.size()) {
|
||||
|
||||
return super.visit(x);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user