[MDEV-24172] data structure tests for innodb_table_stats and innodb_index_stats incorrect Created: 2020-11-09  Updated: 2021-03-12  Resolved: 2021-01-14

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - InnoDB, Storage Engine - XtraDB
Affects Version/s: 10.2.35
Fix Version/s: 10.2.37, 10.3.28, 10.4.18, 10.5.9

Type: Bug Priority: Major
Reporter: Daniel Black Assignee: Daniel Black
Resolution: Fixed Votes: 1
Labels: None

Issue Links:
Duplicate
duplicates MDEV-12576 Upgrade MariaDB 10.0 from Distro to 1... Closed
is duplicated by MDEV-23636 mysql_upgrade [ERROR] InnoDB: Fetch o... Closed

 Description   

from MDEV-13274
2017-07-11 12:17:53 139956946478848 [ERROR] InnoDB: Column last_update in table `mysql`.`innodb_table_stats` is INT UNSIGNED NOT NULL but should be BINARY(4) NOT NULL (type mismatch).

the mysql_upgrade test just hides this problem.

branch with fix on the way



 Comments   
Comment by Daniel Black [ 2020-11-09 ]

bb-10.2-MDEV-24172-danielblack-innodb_stats_table_structure_checks

Comment by Marko Mäkelä [ 2020-12-15 ]

Thank you, this looks OK to me. You can leave storage/xtradb alone; it is basically dead weight and was never part of the 10.2 builds.

Comment by Daniel Black [ 2021-01-14 ]

fixed in 2c4761ccc1980421103ed1c82aff8cf2907d962b

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