Bug #10666 | Primary key that is added on child after creating foreign key cannot be dropped | ||
---|---|---|---|
Submitted: | 16 May 2005 12:03 | Modified: | 19 May 2005 8:30 |
Reporter: | Disha | Email Updates: | |
Status: | Won't fix | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S3 (Non-critical) |
Version: | 5.0.5 Beta | OS: | Windows (Windows 2000 Server) |
Assigned to: | Heikki Tuuri | CPU Architecture: | Any |
[16 May 2005 12:03]
Disha
[16 May 2005 12:17]
Jan Lindström
InnoDB needs indexes on foreign keys and referenced keys so that foreign key checks can be fast and not require a table scan. Starting with MySQL 4.1.2, these indexes are created automatically. If you drop primary key created to foreign key column, InnoDB should automatically create a new index for the foreign key column.
[19 May 2005 8:30]
Heikki Tuuri
Hi! I think this is a marginal case, and we will not fix this. Regards, Heikki