File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -84,16 +84,12 @@ type DDLEventInRedoLog struct {
8484 NeedAddedTables []Table `msg:"need_added_tables"`
8585}
8686
87+ // ColumnInfo is for column meta in DDL event
8788type ColumnInfo struct {
8889 Name string `msg:"name"`
8990 OriginDefaultValue any `msg:"origin_default"`
9091 Type byte `msg:"type"`
91- // Version means the version of the column info.
92- // Version = 0: For OriginDefaultValue and DefaultValue of timestamp column will stores the default time in system time zone.
93- // That is a bug if multiple TiDB servers in different system time zone.
94- // Version = 1: For OriginDefaultValue and DefaultValue of timestamp column will stores the default time in UTC time zone.
95- // This will fix bug in version 0. For compatibility with version 0, we add version field in column info struct.
96- Version uint64 `msg:"version"`
92+ Version uint64 `msg:"version"`
9793}
9894
9995// RedoColumn is for column meta
You can’t perform that action at this time.
0 commit comments