Bug #58357 beutify function erases statement on CREATE INDEX
Submitted: 21 Nov 2010 11:05 Modified: 25 Nov 2010 14:28
Reporter: Giuseppe Maxia Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S1 (Critical)
Version:5.2.30 OS:Any
Assigned to: Alfredo Kojima CPU Architecture:Any
Tags: beautify, sql editor, workbench

[21 Nov 2010 11:05] Giuseppe Maxia
Description:
the query beautifier removes part of a correct query when asking to beautify a CREATE INDEX query

How to repeat:
1. open the query editor
2. write down this query "create index i on t1(i)"
3. invoke the beautifier
4. the query will become "create index i"
[21 Nov 2010 18:17] Valeriy Kravchuk
Thank you for the bug report.
[24 Nov 2010 15:44] Johannes Taxacher
fix confirmed in repository
[25 Nov 2010 14:28] Tony Bedford
An entry has been added to the 5.2.31 changelog:

When attempting to beautify a CREATE INDEX query, the query beautifier removed part of the query.