Details
-
Bug
-
Status: Confirmed (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.1.17
-
None
Description
mysql56-temporal-format had been disabled in MariaDB 10.1.17 environment. This seemed to work fine, but then the following errors around the innodb persistent statistics tables were observed in the MySQL error logs:
InnoDB: Error: Column last_update in table "mysql"."innodb_table_stats" is INT UNSIGNED NOT NULL but should be BINARY(4) NOT NULL (type mismatch).
|
I think this is related to mysql56-temporal-format=off - checking the tables I do see "MYSQL_TYPE_TIMESTAMP" rather than MYSQL_TYPE_TIMESTAMP I reenabled this option, recreated just these tables and these log messages went away and the tables are being populated as expected.
I don't see how it's related to mysql56-temporal-format.This is a standard error you would get after upgrading from 10.0 to 10.1 before you run mysql_upgrade – was it what you did? The table format changed between the versions, hence the error.
mysql_upgrade fixes it, but so does re-creating the table manually of course, which is what you've done now.
Side question – when you say "mysql56-temporal-format had been disabled in MariaDB 10.1.17 environment", do you mean that it changed in MariaDB standard installation, or that you did it on your own in your instance? If it changed in the standard installation, which packages do you use?