Bug #55698 | Missing INDEXes in CREATE Script | ||
---|---|---|---|
Submitted: | 2 Aug 2010 23:24 | Modified: | 30 Jun 2011 9:51 |
Reporter: | Kelsey Prantis | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Workbench | Severity: | S2 (Serious) |
Version: | 5.2.25, 5.2.33 | OS: | MacOS (10.5) |
Assigned to: | CPU Architecture: | Any | |
Tags: | INDEX |
[2 Aug 2010 23:24]
Kelsey Prantis
[4 Aug 2010 15:22]
Johannes Taxacher
Hi Kelsey, could you attach a demo-mwb file that shows that behavior? (you can mark it "private" if you want to restrict access to internal developers only) thanks in advance
[4 Sep 2010 23:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".
[5 Apr 2011 19:13]
Kelsey Prantis
Attached a demo mwb and sql file that demonstrate the problem. (For developers only.)
[6 Apr 2011 14:57]
Valeriy Kravchuk
In 5.2.33 I see option "Skip crreation of FK indexes as well", and in it checked in your .mwb file. As soon as I uncheck it, missing index is created. So, what is the problem?
[6 Apr 2011 15:04]
Kelsey Prantis
The problem is when I uncheck it, then it also creates a bunch of extra indices we *don't* want throughout our schema for all the foreign keys. We don't want it automatically making indices, but we also don't want it to be removing indices we've made ourself manually in the past. I've even confirmed with the older version that this index was type INDEX, not type FOREIGN, so it shouldn't be removing it even with that box checked. (Note the one I submitted is a demo one only, our real schema is of course much larger, and contains the other tables where the extra indices are being created. I didn't think that was necessary to demonstrate as that is intended behavior when that box is not checked.) This bug is so show-stopping for us that our company is still stuck using 5.1 until this is fixed.
[30 Jun 2011 9:51]
Jon Stephens
Thank you for your bug report. This issue has already been fixed in the latest released version of that product, which you can download at http://www.mysql.com/downloads/