| Bug #120206 | EXCHANGE PARTITION bypasses CHECK CONSTRAINT validation | ||
|---|---|---|---|
| Submitted: | 2 Apr 19:48 | Modified: | 18 Sep 10:01 |
| Reporter: | Yakir Gibraltar (OCA) | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Partitions | Severity: | S2 (Serious) |
| Version: | 8.0.46, 8.4.9, 9.6.0 | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
[2 Apr 19:48]
Yakir Gibraltar
[24 Jun 18:12]
Yakir Gibraltar
No one want to verify the following bug ?
[25 Jun 12:11]
Shane Bester
Thank you, verified as described!
[24 Jul 8:48]
MySQL Admin
Posted by developer: Bug status updated to 'Patch pending'
[21 Aug 14:48]
MySQL Admin
Posted by developer: Bug status updated to 'Patch approved'
[22 Aug 14:48]
MySQL Admin
Posted by developer: Bug status updated to 'Documenting'
[18 Sep 10:01]
Edward Gilmore
Posted by developer: Added the following note to the MySQL Server 8.4.13, 9.7.4, and 26.10.0 release notes: ALTER TABLE ... EXCHANGE PARTITION could move rows that violated the destination table's CHECK constraints or exchange tables whose generated columns used different expressions. Rows are now checked in both directions, including when WITHOUT VALIDATION skips partition-bound checks, and mismatched generated-column definitions are rejected. Errors were returned similar to the following: ERROR 3819 (HY000): Check constraint 't_swap_chk_1' is violated.
