Bug #106001 | Incorrect computation of MAX_SIZE_LOG_EVENT_STATUS | ||
---|---|---|---|
Submitted: | 29 Dec 2021 15:35 | Modified: | 28 Jul 2022 19:23 |
Reporter: | Venkatesh Prasad Venugopal (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S3 (Non-critical) |
Version: | 8.0 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[29 Dec 2021 15:35]
Venkatesh Prasad Venugopal
[30 Dec 2021 6:27]
MySQL Verification Team
Hi, Thanks for the report and suggested fix happy holidays
[28 Jul 2022 19:23]
Jon Stephens
Documented fix as follows in the MySQL 8.0.31 changelog: Calculation of the maximum length of status variables (MAX_SIZE_LOG_EVENT_STATUS) was not performed correctly. Issues corrected in this fix are listed here: ·sql_require_primary_key and default_table_encryption require 2 bytes (one for type ID, one for the variable) ·The maximum length of time_zone was calculated as 255 instead of MAX_TIME_ZONE_NAME_LENGTH ·An additional byte (each) is required to save the length of the user variable, the number of database IDs stored in binlog_accessed_db_names, and the type of microseconds In addition, master_data_written was not used, and has been removed. Closed.