Bug #114834 current_date and alias _ not recognized
Submitted: 1 May 10:08 Modified: 1 May 14:23
Reporter: Sébastien F. Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S3 (Non-critical)
Version:8.0.36 OS:Windows
Assigned to: CPU Architecture:Any

[1 May 10:08] Sébastien F.
Description:
Hi !

current_date keyword and table/colmumn alias name _ are not recognized by Workbench syntax checker.

Thx,

How to repeat:
select all current_date; -- OK

select all current_date
; -- Says : Statement is incomplete, expecting FOR, LOCK, etc.

select all current_timestamp
; -- OK

select all current_date() as _c; -- OK

select all current_date() as "_"; -- OK

select all current_date() as _; -- Says : "_" is not valid at this position, expecting FOR, LOCK, etc.
[1 May 14:23] MySQL Verification Team
Hello Sébastien F.,

Thank you for the report and test case.
Verified as described.

regards,
Umesh