-
Notifications
You must be signed in to change notification settings - Fork 1k
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
TableMapEvent 中 ColumnName 获取列名称是空数据。mysql是5.7版本 #806
Comments
8.0 too |
Do you have exact versions for both 5.7, 8.0 and the go-mysql version? This might make it easier to reproduce. What does the same entry look like in |
Ah so to reproduce this one needs to set |
I had the same problem, set binlog_row_metadata=full solve this problem. many thanks. |
thanks,setting this resolve it |
=======TableMapEvent======
TableID: 109
TableID size: 6
Flags: 1
Schema: golang
Table: test
Column count: 5
Column type:
00000000 03 0f 0f 03 03 |.....|
NULL bitmap:
00000000 06 |.|
Signedness bitmap:
Default charset: []
Column charset: []
Set str value: []
Enum str value: []
Column name: []
Geometry type: []
Primary key: []
Primary key prefix: []
Enum/set default charset: []
Enum/set column charset: []
UnsignedMap: map[int]bool(nil)
CollationMap: map[int]uint64(nil)
EnumSetCollationMap: map[int]uint64(nil)
EnumStrValueMap: map[int][]string(nil)
SetStrValueMap: map[int][]string(nil)
GeometryTypeMap: map[int]uint64(nil)
Columns:
<n/a> type=3 unsigned=<n/a> null=no
<n/a> type=15 collation=<n/a> null=yes
<n/a> type=15 collation=<n/a> null=yes
<n/a> type=3 unsigned=<n/a> null=no
<n/a> type=3 unsigned=<n/a> null=no
The text was updated successfully, but these errors were encountered: