improved sql parser, bug fixed for parent is null

This commit is contained in:
高铁
2016-02-27 19:21:28 +08:00
parent e86a34c07d
commit f5924d2661
86 changed files with 1038 additions and 667 deletions
@@ -76,6 +76,13 @@ public class SQLPartition extends SQLObjectImpl {
public List<SQLSubPartition> getSubPartitions() {
return subPartitions;
}
public void addSubPartition(SQLSubPartition partition) {
if (partition != null) {
partition.setParent(this);
}
this.subPartitions.add(partition);
}
public SQLExpr getIndexDirectory() {
return indexDirectory;