| Bug #49041 | Altering a VIEW creates script which includes DROP/CREATE table | ||
|---|---|---|---|
| Submitted: | 24 Nov 2009 17:00 | Modified: | 26 Nov 2009 15:36 | 
| Reporter: | Todd Farmer (OCA) | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Workbench | Severity: | S1 (Critical) | 
| Version: | 5.2 r4753 | OS: | Windows (XP) | 
| Assigned to: | Alexander Musienko | CPU Architecture: | Any | 
   [24 Nov 2009 17:00]
   Todd Farmer        
  
 
   [24 Nov 2009 17:32]
   Sergei Tkachenko        
  You are taking about altering standalone database objects using query editor form, not about model synchronization, right?
   [24 Nov 2009 17:40]
   Todd Farmer        
  Yes, that is correct.
   [25 Nov 2009 22:12]
   Johannes Taxacher        
  fixed in repository. will be included in 5.2.9
   [26 Nov 2009 15:36]
   Tony Bedford        
  An entry has been added to the 5.2.9 changelog: In the Overview tab of the SQL Editor, representing a “live” view of the database currently connected to, if an attempt was made to edit a view, the resulting script generated unnecessary, and in fact dangerous, DROP TABLE statements. This had the potential side-effect that a table that coincidentally had the same name as the view, would be dropped with ensuing data loss.

