Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: github.com/brokercap/Bifrost/Bristol/mysql.(*eventParser).GetTableSchemaByName.func1() #269

Open
longfeiRen opened this issue Feb 4, 2024 · 0 comments

Comments

@longfeiRen
Copy link

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))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant