Skip to content

Remove unneeded parentheses in SQL queries #26767

@roji

Description

@roji

#26652 was about where IS NULL was missing parentheses, causing wrong evaluation and incorrect data being returned by queries (x = y IS NULL). This was fixed in a simple way in #26653 for 6.0, but added lots of unneeded parentheses too at the same time.

For 8.0, build upon #23895 to do this better, without adding spurious parentheses.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions