diff --git a/cdc/model/schema_storage.go b/cdc/model/schema_storage.go index b7ad2d5db42..5aade7cc880 100644 --- a/cdc/model/schema_storage.go +++ b/cdc/model/schema_storage.go @@ -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