Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 10.2.1, 10.3.0
-
Component/s: Storage Engine - InnoDB
-
Labels:
Description
When MDEV-7563 introduced support for the CHECK constraint, it failed to add the flag for DROP CONSTRAINT to INNOBASE_INPLACE_IGNORE. Thus, dropping a CHECK constraint will unnecessarily require the table to be rebuilt, with ALGORITHM=COPY.
ADD [CONSTRAINT] CHECK does not strictly require a rebuild. As part of MDEV-16291 we can implement validation of all rows without copying the table.
Attachments
Issue Links
- is caused by
-
MDEV-7563 Support CHECK constraint as in (or close to) SQL Standard
-
- Closed
-