Bug #51921 | Loss of stored procedure | ||
---|---|---|---|
Submitted: | 10 Mar 2010 16:42 | Modified: | 21 Apr 2010 10:51 |
Reporter: | Martin Pirringer | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Workbench: SQL Editor | Severity: | S3 (Non-critical) |
Version: | 5.2.16, 5.2.17 | OS: | Windows (7) |
Assigned to: | Sergei Tkachenko | CPU Architecture: | Any |
Tags: | PROCEDURE, Saving |
[10 Mar 2010 16:42]
Martin Pirringer
[1 Apr 2010 14:01]
Valeriy Kravchuk
Thank you for the problem report. Indeed, as we have a local parser in Workbench, we should process this case in a more safe way.
[2 Apr 2010 18:10]
Sergei Tkachenko
1) Added warning before trying to apply SQL containing syntax errors. 2) In case of a failure when applying changes to an object, including semantic errors (SQL syntax is ok but name collision happen or something), editor will try to restore the object by running original create statement.
[9 Apr 2010 13:13]
Johannes Taxacher
fixed in repository
[21 Apr 2010 10:51]
Tony Bedford
An entry has been added to the 5.2.18 changelog: In the SQL Editor, if in the Alter Routine dialog, the user had a routine that contained an error, the routine would be lost if an attempt was made to close the Alter Routine dialog using the close button, and then click Yes to apply changes.