[MDEV-23161] avg_count_reset for monitor set owner may wrongly be NULL in I_S.INNODB_METRICS Created: 2020-07-14  Updated: 2020-07-14  Resolved: 2020-07-14

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - InnoDB
Affects Version/s: 10.0, 10.1, 10.2, 10.3, 10.4, 10.5
Fix Version/s: 10.1.46, 10.2.33, 10.3.24, 10.4.14, 10.5.5

Type: Bug Priority: Major
Reporter: Marko Mäkelä Assignee: Marko Mäkelä
Resolution: Fixed Votes: 0
Labels: contribution, upstream

Issue Links:
Blocks
blocks MDEV-23163 Merge new release of InnoDB 5.7.31 to... Closed

 Description   

fungo submitted MySQL Bug #98990 avg_count_reset for monitor set owner is always NULL in I_S.INNODB_METRICS, observing that a call fields[METRIC_AVG_VALUE_RESET]->set_notnull() is missing when the MONITOR_SET_OWNER flag is set, causing the possibility for the column to appear as NULL in INFORMATION_SCHEMA.INNODB_METRICS.

His suggested fix was applied to MySQL 5.7.31 as
Bug#31084706 AVG_COUNT_RESET FOR MONITOR SET OWNER IS ALWAYS NULL IN I_S.INNODB_METRICS. Even though the bug affects MySQL 5.6, the fix was not applied there.


Generated at Thu Feb 08 09:20:18 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.