Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 10.3, 10.3.9
-
Fix Version/s: 10.3.11
-
Component/s: Data Definition - Alter Table, Versioned Tables
-
Labels:None
-
Environment:CentOS7
Description
If you issue an ALTER TABLE to make a column that is a foreign key NOT NULL you get the following error:
Cannot change column 'c1': used in a foreign key constraint 'p2c_ibfk_1'
|
In prior versions of MariaDB this was allowed and did not generate an error. Further, if you issue an ALTER TABLE to make a column that is a foreign key NULLable you do NOT get any error message.
Attachments
Issue Links
- relates to
-
MDEV-14632 Assertion `!((new_col->prtype ^ col->prtype) & ~256U)' failed in row_log_table_apply_convert_mrec
-
- Closed
-