Bug #96295 | DISABLE KEYS, DELAY_KEY_WRITE results in "Data truncated for functional index" | ||
---|---|---|---|
Submitted: | 23 Jul 2019 13:12 | Modified: | 29 Jul 2019 8:44 |
Reporter: | Manuel Rigger | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: DDL | Severity: | S3 (Non-critical) |
Version: | 8.0.17 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[23 Jul 2019 13:12]
Manuel Rigger
[24 Jul 2019 6:10]
MySQL Verification Team
Hello Manuel Rigger, Thank you for the report. regards, Umesh
[29 Jul 2019 8:40]
Dmitry Lenev
Posted by developer: Hello! This bug describes the same issue as bug #29962076 "NON-UNIQUE FUNCTIONAL INDEX PREVENTS PRIMARY KEY FROM BEING DROPPED". The issue affects any ALTER TABLE which is executed using COPY algorithm (e.g. both "ALTER TABLE t0 DISABLE KEYS, DELAY_KEY_WRITE 0" and "DROP INDEX `PRIMARY` ON t0"). And the bug report bug#29962076 in its turn is marked as duplicate of bug#29959656 "INDEX MAKES DELETE FAIL WITH "TRUNCATED INCORRECT DOUBLE VALUE"". Therefore I am marking this bug as a duplicate of bug#95997 / #29959656 "INDEX MAKES DELETE FAIL WITH "TRUNCATED INCORRECT DOUBLE VALUE".