Skip to content

canal解析将mysql set类型转为unsigned long类型 #95

@agapple

Description

@agapple

mysql中set的数据表示是通过bit来描述.
举个例子:比如set('a','b,'c,','d'),插入一条'a','c'的记录,mysql用bit表示就是1010,转化为10进制就是5,注意是litten-endian.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions