Bug #72193 Beautify adds a white space to a variable name
Submitted: 1 Apr 2014 18:27 Modified: 12 Jun 2014 21:27
Reporter: Stefan Wallner Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S3 (Non-critical)
Version:6.1.4 OS:Windows (8 x64)
Assigned to: CPU Architecture:Any
Tags: beautify

[1 Apr 2014 18:27] Stefan Wallner
Description:
Beautify adds a white space to a variable name

How to repeat:
Beautify the below:
SELECT 
    MIN(idImage), MAX(idImage)
INTO @min, @max FROM
    tblimage;

Result:
SELECT 
    MIN(idImage), MAX(idImage)
INTO @ min , @ max FROM
    tblimage;
[2 Apr 2014 7:19] MySQL Verification Team
Hello Stefan,

Thank you for the bug report.
Verified as described.

Thanks,
Umesh
[12 Jun 2014 21:27] Philip Olson
Fixed as of the upcoming MySQL Workbench 6.1.6 release, and here's the changelog entry:

The "Beautify/Reformat" feature would add whitespace to variable names, so
that "@foo" would become "@ foo".

Thank you for the bug report.