Bug #15317 | Removing foreign key results in rename error | ||
---|---|---|---|
Submitted: | 29 Nov 2005 16:18 | Modified: | 18 Aug 2006 10:12 |
Reporter: | Allen Mayes | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Administrator | Severity: | S2 (Serious) |
Version: | Admin 1.1.3 | OS: | Windows (Win XP) |
Assigned to: | Vladimir Kolesnikov | CPU Architecture: | Any |
Tags: | Object Editors |
[29 Nov 2005 16:18]
Allen Mayes
[29 Nov 2005 16:22]
Jorge del Conde
Thanks for your bug report. I was able to reproduce this bug using the supplied how to repeat steps.
[3 Aug 2006 13:58]
Stephen Torongo
to delete the FK; change it to a "unique" index, apply, then delete it as normal
[18 Aug 2006 10:12]
Vladimir Kolesnikov
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://dev.mysql.com/doc/ and the instructions on how to report a bug at http://bugs.mysql.com/how-to-report.php Hi, this is not a MA bug. This is actually an InnoDB specifics. When you create an FK, it creates/reuses an index. That's why you can see an index on the "Indices" tab. InnoDB doesnt support deletion of FK by removing the index and it cannot of course delete the index at it is needed for the FK. In general there's no way to detect this kind of index to FK relation at the MA level. If you what to remove an FK do it from the "Forein Keys" tab. The correspodning index will be removed automatically. Regards, Vlad