diff --git a/core/src/main/java/com/alibaba/druid/sql/ast/expr/SQLStructExpr.java b/core/src/main/java/com/alibaba/druid/sql/ast/expr/SQLStructExpr.java index 55d83a8dee..68833cfa94 100644 --- a/core/src/main/java/com/alibaba/druid/sql/ast/expr/SQLStructExpr.java +++ b/core/src/main/java/com/alibaba/druid/sql/ast/expr/SQLStructExpr.java @@ -62,6 +62,7 @@ public SQLStructExpr clone() { } protected void cloneTo(SQLStructExpr x) { + x.dataType = this.dataType.clone(); for (SQLAliasedExpr item : items) { x.addItem(item.clone()); }