Closed
Description
I noticed function dumpParseHandler.Data() in siddontang/go-mysql/canal/dump.go(line: 56), using strconv.ParseInt(v, 10, 64)
to parse TYPE_NUMBER which includes mysql unsigned bigint.
However, the max value of bigint unsigned is 2^64 - 1 which is greater than the max value of int64(2^63 - 1). A column in mysql which is greater than 2^63 - 1 and less than 2^64 - 1 will cause a parse error.
Metadata
Metadata
Assignees
Labels
No labels