Bug #88819 Error
Submitted: 7 Dec 2017 15:00 Modified: 7 Dec 2017 21:15
Reporter: A. BAUDOUIN Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S5 (Performance)
Version:6.3.10 OS:Windows (Microsoft Windows 10 Pro)
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[7 Dec 2017 15:00] A. BAUDOUIN
Description:
If there is a comment on the first line and a SQL command on the second line, the execution of the SQL command fail with a 1064 error.

How to repeat:
- Open Workbench, SQL Editor
- Connect to a database
- Add two lines with a comment on the first line and a command on the second line, for example :
"-- test
select * from USERS;"

- place the cursor, on the second line
- click on the button "Execute the statement under the keyboard cursor" or press Ctrl+Enter
- The error 1064 appears
[7 Dec 2017 15:01] A. BAUDOUIN
Screenshot

Attachment: capture.JPG (image/jpeg, text), 44.69 KiB.

[7 Dec 2017 21:11] MySQL Verification Team
no comment error

Attachment: error.png (image/png, text), 167.58 KiB.

[7 Dec 2017 21:15] MySQL Verification Team
Thank you for the bug report. Please see prior attached screen-shot, I use tab to separate -- with first comment character.