Bug #75462 | False syntax error when enclosing subquery in two parentheses | ||
---|---|---|---|
Submitted: | 9 Jan 2015 10:15 | Modified: | 9 Dec 2015 21:37 |
Reporter: | Ian Savell | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Workbench: SQL Editor | Severity: | S3 (Non-critical) |
Version: | 6.2.4.12437 | OS: | Windows (windows 7 and 8.1) |
Assigned to: | CPU Architecture: | Any | |
Tags: | parentheses, subquery, syntax |
[9 Jan 2015 10:15]
Ian Savell
[9 Jan 2015 10:35]
MySQL Verification Team
Hello Ian Savell, Thank you for the report. Confirmed this issue on Win7 with Workbench 6.2.4. Thanks, Umesh
[9 Jan 2015 10:37]
MySQL Verification Team
How to Repeat: Try this query: SELECT @l:=((SELECT 1) + 1 ) AS A; No issues from CLI/SQL Editor after executing but SQL Editor wrongly point with syntax error. mysql> SELECT @l:=((SELECT 1) + 1 ) AS A; +---+ | A | +---+ | 2 | +---+ 1 row in set (0.00 sec)
[9 Jan 2015 10:38]
MySQL Verification Team
Screenshot..
Attachment: 75462.png (image/png, text), 33.55 KiB.
[9 Dec 2015 21:37]
Philip Olson
Posted by developer: Fixed as of the upcoming MySQL Workbench 6.3.6 release, and here's the changelog entry: Workbench would report SQL syntax errors for subqueries using multiple parentheses. Thank you for the bug report.