Open HemeraOne opened 3 years ago
There is an issue in the upstream library go-mysql
regarding unsigned integer issues - https://github.com/go-mysql-org/go-mysql/issues/206
as quoted from the library maintainer in the issue:
binlog event doesn't contain unsigned type, you should convert outside with your own schema.
Which is done for uInt8,uInt16,uInt32 and uInt64 but there is no native uint24 in go
so somehow the unsigned value which lies outside of the signed value gets wrongfully converted: 8592090 -> 4286782170
value parsed from binlog: -8185126
should be converted to int24 which seems to be not a thing in golang