Bug #86476 "Stop Script Executon on Errors" - not working as expected (reversed)
Submitted: 26 May 2017 10:58 Modified: 26 May 2017 12:23
Reporter: Dan Dragut Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:6.3.9 OS:Microsoft Windows
Assigned to: CPU Architecture:Any

[26 May 2017 10:58] Dan Dragut
Description:
Query > "Stop script execution on errors" option is not working as expected - it works the exactly opposite way: it stops on errors when option is not selected and it doesn't stop when option is selected (I can't see a way to attach screenshots to show the problem, see https://ibb.co/cSVdyF and https://ibb.co/gxbwkv).

As a side note, the toolbar icon for Query > "Stop Script Executon on Errors" is a bit unintuitive and can be confusing, as the icon for both states has a border and it is very hard to see at a glance whether the button is raised or sunken. A suggestion would be to change the push buttons into toggles with an active / inactive state (I prepared a mockup proposal based on Google Material Design toggles, see https://ibb.co/iGAQCa).

How to repeat:
SQL script to test with:

SELECT 'before';
SELECT * FROM mysql.non_existant_table;
SELECT 'after';

Check Query > Stop Script Execution on errors, notice the output.
Uncheck Query > Stop Script Execution on errors, notice the output.
[26 May 2017 12:23] Chiranjeevi Battula
Hello  Dan Dragut,

Thank you for the bug report.
Verified this behavior on MySQL Workbench in 6.3.9 version

Thanks,
Chiranjeevi.
[26 May 2017 12:24] Chiranjeevi Battula
Check_Stop script execution on errors

Attachment: Check_Stop script execution on errors.png (image/png, text), 146.07 KiB.

[26 May 2017 12:24] Chiranjeevi Battula
Uncheck_Stop script execution on errors

Attachment: Uncheck_Stop script execution on errors.png (image/png, text), 144.39 KiB.