Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
5.5(EOL), 10.0(EOL), 10.1(EOL)
Description
Currently, changing delay_key_write option for MyISAM table using ALTER TABLE statement copies all table rows to a temporary table during alteration. However, it is totally unnecessary. Changing this attribute should not copy rows.
One can just create a table with the same structure and this option set and then copy/rename .frm file, but why to rely on workaround when this can be implemented by server itself?
See https://bugs.mysql.com/bug.php?id=45492 upstream MySQL bug also.
Attachments
Issue Links
- relates to
-
MDEV-12836 Avoid table rebuild when removing of auto_increment settings
- Closed
-
MDEV-13636 ALTER TABLE ... DELAY_KEY_WRITE=1 creates table copy for MyISAM table with DATA DIRECTORY/INDEX DIRECTORY options
- Closed
- links to