Skip to content

Commit

Permalink
Fix SQLStructExpr clone without datatype.
Browse files Browse the repository at this point in the history
  • Loading branch information
lingo-xp authored and wenshao committed Dec 25, 2024
1 parent b166cbb commit 2b3a3c8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down

0 comments on commit 2b3a3c8

Please sign in to comment.