Bug #63842 Output does not update when clicking apply and no changes on create/alter
Submitted: 22 Dec 2011 15:37 Modified: 3 Feb 2012 2:13
Reporter: Bob Dankert Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S3 (Non-critical)
Version:5.2.36 OS:Windows (W7 64)
Assigned to: CPU Architecture:Any
Tags: alter, apply, create, no changes, Output, UPDATE

[22 Dec 2011 15:37] Bob Dankert
Description:
The output pane/window does not update/refresh properly when you click the Apply button while altering/creating a table when there are no changes to be made.  Click Apply causes the output window to display "Apply changes to <table_name>" and "Preparing..." in the message, but the "Preparing..." does not update to "No changes detected" automatically.  If you click on the output window it will update the message, but it should happen automatically.

How to repeat:
Alter a table and make no changes.  Click apply.  Watch the output window, it will say "Apply changes to <table_name>" and "Preparing...", and doesn't show "No changes detected" until you click in the window.

Suggested fix:
Update the Output window automatically.  

It would also be nice if the Apply Changes button wasn't enabled if there are no changes to be made, but that is a separate feature enhancement.
[22 Dec 2011 15:55] Valeriy Kravchuk
Thank you for the bug report. Verified on Windows XP.
[3 Feb 2012 2:13] Philip Olson
Fixed as of 5.2.38:

After clicking "Apply" to alter a table
where changes are not being made, the output window says
"Preparing..." and does not automatically change to "No changes
detected" until the window is clicked.