[MDEV-18689] Simple query with extra brackets stopped working Created: 2019-02-22  Updated: 2019-05-07  Resolved: 2019-05-07

Status: Closed
Project: MariaDB Server
Component/s: Parser
Affects Version/s: 10.4
Fix Version/s: 10.4.5

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Igor Babaev
Resolution: Fixed Votes: 0
Labels: None


 Description   

SELECT * FROM ( mysql.db );

It works on 10.3, but throws a syntax error on 10.4:

query 'SELECT * FROM ( mysql.db )' failed: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1

I don't know if it's intentional.



 Comments   
Comment by Igor Babaev [ 2019-05-07 ]

A fix for this bug was pushed into 10.4

Generated at Thu Feb 08 08:45:59 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.