error: github.com/brokercap/Bifrost/Bristol/mysql.(*eventParser).GetTableSchemaByName.func1()
Opened this issue · 0 comments
longfeiRen commented
go version: 1.21.2
mysql version:8.0.32
github.com/brokercap/Bifrost/Bristol/mysql: v1.2.2
报错信息:
/usr/local/opt/go/libexec/src/runtime/debug/stack.go:24 +0x5e
github.com/brokercap/Bifrost/Bristol/mysql.(*eventParser).GetTableSchemaByName.func1()
排查发现是 vendor/github.com/brokercap/Bifrost/Bristol/mysql/binlog.go:349
dest[9] 返回的类型int64 类型不一致导致 CHARACTER_OCTET_LENGTH = dest[9].(uint64)修复为 CHARACTER_OCTET_LENGTH = uint64(dest[9].(int64))