Bug #43772 Continue button restarts a script rather than continuing from a break point.
Submitted: 20 Mar 2009 22:27 Modified: 16 Oct 2009 12:15
Reporter: David Berg Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Query Browser Severity:S3 (Non-critical)
Version:1.2.17 OS:Windows (XP Pro SP3)
Assigned to: CPU Architecture:Any
Tags: CHECKED

[20 Mar 2009 22:27] David Berg
Description:
When running a script in a Script Tab that either encounters an error or encounters a user-set break point, pressing the 'Continue' button restarts the script. In previous versions, it would continue from the point of the error or break point.

How to repeat:
Open a New Script Tab.
Write the following script:
  create table tab1 (col1 int);
  insert into tab1 values (1);
  drop table tab1;
Set a break point at the drop statement;
Press 'Execute.'
The script stops at the break point;
Press 'Continue.'
The script restarts at the beginning as proven by the message that tab1 already exists when trying to create it. It should have continued from the break point.

Remove the break point.
Press 'Stop.'
Force an SQL error into the insert statement, e.g. remove the 't' from 'insert.'
Press 'Execute.'
When the script stops at the error, correct the error.
Press 'Continue.'
The script restarts at the beginning as proven by the message that tab1 already exists when trying to create it. It should have continued from the point it encountered the error.
 

Suggested fix:
Fix so 'Continue' restarts a script from the point it was stopped.
[23 Mar 2009 12:21] MySQL Verification Team
Thank you for the bug report.
[23 Mar 2009 12:22] Susanne Ebrecht
Verified as described
[16 Oct 2009 12:15] Susanne Ebrecht
Many thanks for writing a bug report. We are on the way to implement full functionality of MySQL Query Browser into MySQL Workbench. We won't fix this anymore.

More informations about MySQL Workbench you will find here:

http://dev.mysql.com/workbench/