[MDEV-21250] Better error message for Dropping a column that is part of a multi-column UNIQUE constraint is not permitted. Created: 2019-12-08  Updated: 2020-01-23

Status: Open
Project: MariaDB Server
Component/s: None
Fix Version/s: None

Type: Task Priority: Major
Reporter: Olaf van der Spek Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   

> Dropping a column that is part of a multi-column UNIQUE constraint is not permitted.

IMO "[42000][1072] Key column 'A' doesn't exist in table" doesn't make sense. Could it just say it's not permitted?

Why isn't this permitted BTW?
Of course the constraint would be more strict but that's to be expected.

https://mariadb.com/kb/en/library/alter-table/


Generated at Thu Feb 08 09:05:43 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.