Bug #58359 | query formatter indentation fails on partially selected query | ||
---|---|---|---|
Submitted: | 21 Nov 2010 12:06 | Modified: | 30 Nov 2010 10:51 |
Reporter: | Giuseppe Maxia | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Workbench: SQL Editor | Severity: | S1 (Critical) |
Version: | 5.2.30 | OS: | MacOS (10.5.6, 10.6.5) |
Assigned to: | Alfredo Kojima | CPU Architecture: | Any |
[21 Nov 2010 12:06]
Giuseppe Maxia
[21 Nov 2010 18:14]
Valeriy Kravchuk
Thank you for the bug report.
[22 Nov 2010 12:49]
Johannes Taxacher
this can be considered a duplicate of Bug #58358
[22 Nov 2010 13:07]
Giuseppe Maxia
This is not a duplicate. The behavior for partially selected is different from a fully selected query. (See what happens when you do "Indent" on a fully selected query and on a partially selected query) Anyway, if you fix all the issues, I don't care what you call it.
[26 Nov 2010 16:52]
Johannes Taxacher
fix confirmed in repository
[30 Nov 2010 10:51]
Tony Bedford
An entry has been added to the 5.2.31 changelog: In the Query Editor, if a query was partially selected, and then the beautifier run, the results were unpredictable. Problems included exceptions, duplicated tokens, and incorrect indentation.