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:
@@ -52,4 +52,13 @@ public class SQLSubPartitionByHash extends SQLSubPartitionBy {
|
||||
this.key = key;
|
||||
}
|
||||
|
||||
public SQLSubPartitionByHash clone() {
|
||||
SQLSubPartitionByHash x = new SQLSubPartitionByHash();
|
||||
if (expr != null) {
|
||||
x.setExpr(expr.clone());
|
||||
}
|
||||
x.key = key;
|
||||
return x;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user