Issue Bug Closed

#21758Allow useless parentheses to be parsed

Xavier Perseguers 12/01/09, 08:22 updated 09/10/13, 09:03

Description

Sometimes, developers include useless parentheses in their WHERE clause. E.g.:

SELECT * FROM pages WHERE (uid=3)

This cannot be parsed as using a parenthesis basically tells the parser that a combined condition (with AND or OR) will be found.

It would make DBAL better if it could parse those queries anyway.

See related bugs for a few real-world examples.
(issue imported from #M12865)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.