mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved sql parser.
This commit is contained in:
@@ -68,4 +68,21 @@ public class SQLSubPartition extends SQLObjectImpl {
|
||||
visitor.endVisit(this);
|
||||
}
|
||||
|
||||
public SQLSubPartition clone() {
|
||||
SQLSubPartition x = new SQLSubPartition();
|
||||
|
||||
if (name != null) {
|
||||
x.setName(name.clone());
|
||||
}
|
||||
|
||||
if (values != null) {
|
||||
x.setValues(values.clone());
|
||||
}
|
||||
|
||||
if (tableSpace != null) {
|
||||
x.setTableSpace(tableSpace.clone());
|
||||
}
|
||||
|
||||
return x;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user