Bug #59935 | Attempting to synchronize (illegal) empty tables generates invalid SQL | ||
---|---|---|---|
Submitted: | 4 Feb 2011 5:06 | Modified: | 9 Jan 2015 16:35 |
Reporter: | Nicholas Sherlock | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Workbench: Modeling | Severity: | S3 (Non-critical) |
Version: | 5.2.31a | OS: | Windows |
Assigned to: | CPU Architecture: | Any |
[4 Feb 2011 5:06]
Nicholas Sherlock
[4 Feb 2011 7:31]
Valeriy Kravchuk
Thank you for the problem report. Verified on Windows XP. I think suggested solution 1 is the best option.
[4 Feb 2011 9:10]
Johannes Taxacher
solution 1 is - in form of Model validation - one of the additional features in the "SE" Edition of MySQL Workbench and simply not part of the Community Edition. We might consider adding some variant of solution #2 though - sounds like an interesting approach. But I'd rather go for simply "ignoring" the table upon synchronization if it doesn't have columns defined as treating it as "to delete" could create an unwanted drop if a populated table with that name is existent in DB.
[4 Feb 2011 9:13]
Peter Laursen
It is a regression. I reported this before, and it was claimed to be fixed ½ year ago (but I did not test the fix). http://bugs.mysql.com/bug.php?id=43786