Bug #55944 | Assertion: node->pcur->rel_pos == BTR_PCUR_ON on DELETE after EXCHANGE PARTITION | ||
---|---|---|---|
Submitted: | 12 Aug 2010 12:34 | Modified: | 16 Nov 2010 1:42 |
Reporter: | Elena Stepanova | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: Partitions | Severity: | S3 (Non-critical) |
Version: | 5.6.0-m4, 5.6.1-m4 | OS: | Any |
Assigned to: | Assigned Account | CPU Architecture: | Any |
[12 Aug 2010 12:34]
Elena Stepanova
[25 Aug 2010 11:53]
Mattias Jonsson
After some discussion with Mikael and Svoj, I will try to add a state per partition in the .par file, which is set to MAY_HAVE_NON_MATCHING_ROWS when exchanging data into a partition, and which is reset on CHECK/REPAIR (also need to be added). If MAY_HAVE_NON_MATCHING_ROWS is set for a partition, it needs to verify each row on read, that it matches the partition otherwise we should mark the table as crashed.
[29 Oct 2010 10:23]
Mattias Jonsson
Removal of the IGNORE option is proposed to be removed in bug#57708.
[16 Nov 2010 1:42]
Mattias Jonsson
Duplicate of bug#57708 (IGNORE was removed there, so this bug cannot happen any longer).
[13 Dec 2010 6:43]
Jon Stephens
Please note that the correct syntax should be "ALTER IGNORE TABLE tbl_1_name EXCHANGE PARTITION paretition_name WITH TABLE tbl_2_name" -- this is standard for all ALTER TABLE statements.
[13 Dec 2010 8:54]
Mattias Jonsson
Please note that 'ALTER IGNORE TABLE tbl_1 EXCHANGE PARTITION p0 WITH TABLE tbl_2' ignores the 'IGNORE'. Also since bug#57708 'ALTER TABLE tbl_1 EXCHANGE PARTITION p0 WITH TABLE tbl_2 IGNORE' the 'IGNORE' part is not supported.