mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved sql parser, bug fixed for parent is null
This commit is contained in:
@@ -33,6 +33,13 @@ public class SQLPartitionValue extends SQLObjectImpl {
|
||||
public List<SQLExpr> getItems() {
|
||||
return items;
|
||||
}
|
||||
|
||||
public void addItem(SQLExpr item) {
|
||||
if (item != null) {
|
||||
item.setParent(this);
|
||||
}
|
||||
this.items.add(item);
|
||||
}
|
||||
|
||||
public Operator getOperator() {
|
||||
return operator;
|
||||
|
||||
Reference in New Issue
Block a user