You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add VisibilityBitmap to TableMapEvent in replication (go-mysql-org#813)
* Add `VisibilityBitmap` to `TableMapEvent` for MySQL 8.0.23+ Invisible Columns Changes: - `TableMapEvent.VisibilityBitmap` `VisibilityBitmap` is a bitmap where each bit represents the visibility of a corresponding column in a table. If a bit is set, it indicates that the corresponding column is NOT an invinsible column. Invisible column was introduced in MySQL version 8.0.23. - `TableMapEvent.VisibilityMap` `VisibilityMap` lists boolean values of which is true if column of the same index is NOT an invisible column. Co-authored-by: sean <sean.k1@kakaoent.com> * Refactor bitmap iteration to align with MySQL source code Changes: - Refactpred `UnsignedMap` - Refactored `VisibilityMap` Suggested by: go-mysql-org#813 (comment) * Add test for column visibility in table map Changes: - Added data for MySQL 8.0 only (Only MySQL 8.0.23+ supports invisible columns) * Add test case 2 for column visibility in table map Changes: - Add test case 2 where invisible columns does not exists at all --------- Co-authored-by: sean <sean.k1@kakaoent.com>
0 commit comments