Bug #105297 Correct length formula for null-bitmask field in table_map_event

Submitted: 22 Oct 2021 15:09 Modified: 22 Oct 2021 15:55
Reporter: DONGWOOK CHANG (OCA) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: CPU Architecture:Any
Tags: null-bitmask, replication, TABLE_MAP_EVENT

[22 Oct 2021 15:09] DONGWOOK CHANG
Description:
https://dev.mysql.com/doc/internals/en/table-map-event.html

The length formula for null-bitmask field is incorrect.
It must be corrected as below.
(column-count + 8) / 7 -> (column-count + 7) / 8

reference:

https://github.com/mysql/mysql-server/blob/3290a66c89eb1625a7058e0ef732432b6952b435/sql/lo...

https://github.com/mysql/mysql-server/blob/3290a66c89eb1625a7058e0ef732432b6952b435/libbin...

How to repeat:
The incorrect description can be found in:
https://dev.mysql.com/doc/internals/en/table-map-event.html
[22 Oct 2021 15:55] MySQL Verification Team
Thank you for the bug report.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.038 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.