Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.4.13, 10.5.4
-
CentOS 7
Description
In MySQL 5.7:
create table example (
|
name varchar(20) NOT NULL,
|
logblob blob NOT NULL,
|
created datetime NOT NULL,
|
primary key (name, created)
|
) engine=InnoDB default charset=utf8
|
partition by hash( to_days(created))
|
partitions 10;
|
Stop server & physically copy datadir, or remove MySQL binaries & replace with MariaDB binaries.
Start server.
Try to access table:
MariaDB [t38689]> select count(*) from example;
|
ERROR 1932 (42S02): Table 't38689.example' doesn't exist in engine
|
Try running mysql_upgrade:
Repairing tables
|
t38689.example
|
Error : Table 't38689.example' doesn't exist in engine
|
status : Operation failed
|
Problem confirmed with tables partitioned by HASH, COLUMN, KEY, RANGE, and LIST.
Attachments
Issue Links
- is duplicated by
-
MDEV-29253 Detect incompatible MySQL partition scheme and either convert them or report to user and in error log.
- Closed
- relates to
-
MDEV-31417 ASAN errors in ha_partition::create_handlers upon upgrading from MySQL 5.7 with partitioned tables
- Closed