Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.2(EOL), 10.3(EOL)
Description
MySQL 5.7 (which was merged to MariaDB 10.2.2) implements an instantaneous change of the maximum length of a VARCHAR column when the length is increasing and not crossing the 255-byte boundary.
Alas, when the VARCHAR column was indexed, the indexes would be dropped and added. This should be avoided.
MySQL 5.7.23 addressed this by changing the storage engine API. We would prefer a less intrusive change. InnoDB should be able to ‘optimize away’ pairs of DROP INDEX and ADD INDEX operations. (While doing that, InnoDB in MariaDB should support the renaming of indexes as well, without introducing the RENAME INDEX syntax from MySQL 5.7.)
Attachments
Issue Links
- blocks
-
MDEV-11424 Instant ALTER TABLE of failure-free record format changes
- Closed
- is duplicated by
-
MDEV-17965 Allow instant VARCHAR increase of indexed fields
- Closed
- relates to
-
MDEV-15563 Instant failure-free data type conversions
- Closed
-
MDEV-16850 Merge new release of InnoDB 5.7.23 to 10.2
- Closed