1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00
Files
mariadb/plugin
Alexander Barkov 03a9366c73 Extra tests for MDEV-30483 After upgrade to 10.6 from Mysql 5.7 seeing "InnoDB: Column last_update in table mysql.innodb_table_stats is BINARY(4) NOT NULL but should be INT UNSIGNED NOT NULL"
Adding tests demonstrating that columns:
- mysql.innodb_table_stats.last_update
- mysql.innodb_index_stats.last_update

contain sane values close to NOW() rathar than a garbage.

Tests cover these three underlying TIMESTAMP data formats:

- MariaDB Field_timestamp0 - UINT4 based
  Like in a MariaDB native installation running with mysql56_temporal_format=0

- MariaDB Field_timestampf - BINARY(4) based, with UNSIGNED_FLAG
  Like in a MariaDB native installation running with mysql56_temporal_format=1

- MySQL-alike Field_timestampf - BINARY(4) based, without UNSIGNED_FLAG
  Like with a MariaDB server running over a MySQL-5.6 directory
  (e.g. during a migragion).
2023-05-26 16:47:16 +04:00
..
2021-05-25 15:38:57 +03:00
2022-09-20 16:53:20 +03:00
2023-04-11 16:15:19 +03:00
2022-10-25 10:04:37 +03:00
2022-02-03 17:01:31 +01:00
2023-02-10 13:03:01 +02:00
2022-07-26 11:37:36 +03:00
2022-09-20 16:53:20 +03:00
2021-04-14 11:35:39 +03:00
2023-02-10 12:02:11 +02:00
2021-07-22 18:57:54 +03:00
2022-10-02 14:38:13 +02:00