mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug fixed for sql parser. for issue #2544
This commit is contained in:
@@ -118,6 +118,13 @@ public class SQLMethodInvokeExpr extends SQLExprImpl implements SQLReplaceable,
|
||||
this.parameters.add(param);
|
||||
}
|
||||
|
||||
public void addArgument(SQLExpr arg) {
|
||||
if (arg != null) {
|
||||
arg.setParent(this);
|
||||
}
|
||||
this.parameters.add(arg);
|
||||
}
|
||||
|
||||
public void output(StringBuffer buf) {
|
||||
if (this.owner != null) {
|
||||
this.owner.output(buf);
|
||||
|
||||
Reference in New Issue
Block a user