Details
-
Task
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
Reproduce
create or replace table t1 (x int) |
partition by range columns (x) ( |
partition p0 values less than (10), |
partition p1 values less than (20), |
partition pn values less than maxvalue); |
|
insert into t1 values (21); |
|
alter table t1 convert partition pn to table pn; |
alter table t1 add partition (partition p2 values less than (30)); |
alter table t1 convert table pn to partition pn values less than maxvalue; |
Result
alter table t1 convert table pn to partition pn values less than maxvalue; |
ERROR 1737 (HY000): Found a row that does not match the partition |
Expected
CONVERT TABLE succeeds, row 21 is moved to partition p2.
Attachments
Issue Links
- is blocked by
-
MDEV-27180 Fully atomic partitioning DDL operations
- In Review
- relates to
-
MDEV-25495 Auto-drop old history partition for system-versioned tables that use auto-creation
- In Review
-
MDEV-31212 Range partition: allow ADD PARTITION into the middle of ranges list
- Open