Skip to content

Commit

Permalink
Fix decode chunk (#945)
Browse files Browse the repository at this point in the history
close #942
  • Loading branch information
hongyunyan authored Jan 23, 2025
1 parent 492437c commit 6e8f61a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/common/event/chunk.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ func getDefaultOrZeroValue(
}
d = types.NewMysqlEnumDatum(enumValue)
case mysql.TypeString, mysql.TypeVarString, mysql.TypeVarchar:
d = types.NewStringDatum("")
return d, emptyBytes, sizeOfEmptyBytes, "", nil
default:
d = table.GetZeroValue(col)
Expand Down

0 comments on commit 6e8f61a

Please sign in to comment.