Details
-
Bug
-
Status: Stalled (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.4(EOL), 10.5
Description
--source include/have_partition.inc
|
|
CREATE TEMPORARY TABLE tmp (i INT) ENGINE=Aria; |
CREATE TABLE t1 LIKE tmp; |
INSERT INTO t1 () VALUES (),() ; |
ALTER TABLE t1 PARTITION BY RANGE(i) (PARTITION p1 VALUES LESS THAN (10), PARTITION p2 VALUES LESS THAN (100)); |
ALTER TABLE t1 ADD PARTITION (PARTITION p3 VALUES LESS THAN (1000)); |
DELETE FROM t1; |
|
# Cleanup
|
DROP TABLE t1; |
10.4 8cf7e3459d7309 |
MariaDB [test]> DELETE FROM t1;
|
ERROR 1030 (HY000): Got error 174 "Fatal error during initialization of handler" from storage engine Aria
|
Not reproducible on 10.3.
Not reproducible with MyISAM.
Attachments
Issue Links
- relates to
-
MDEV-22283 Server crashes in key_copy or unexpected error 156: The table already existed in the storage engine
-
- Closed
-
This is partition's error, not Aria's.
First two aria partitions don't have HA_OPTION_PAGE_CHECKSUM, the last one does. After
MDEV-5336this causes partitions to have differently set HA_CAN_ONLINE_BACKUPS. And ha_partition verifies that all partitions have identical table flags.The real bug is, probably, different default value for HA_OPTION_PAGE_CHECKSUM.