Skip to content

Commit

Permalink
use flag pointer, instead of copy
Browse files Browse the repository at this point in the history
  • Loading branch information
3AceShowHand committed Dec 18, 2024
1 parent 3ffb1d7 commit 9a7d6c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdc/model/schema_storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func WrapTableInfo(schemaID int64, schemaName string, version uint64, info *mode
ti.rowColInfos[i] = rowcodec.ColInfo{
ID: col.ID,
IsPKHandle: pkIsHandle,
Ft: col.FieldType.Clone(),
Ft: &col.FieldType,
VirtualGenCol: col.IsGenerated(),
}
ti.rowColFieldTps[col.ID] = ti.rowColInfos[i].Ft
Expand Down

0 comments on commit 9a7d6c8

Please sign in to comment.