-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove unneeded parentheses in SQL queries #26767
Comments
Note to self: reenable test Bool_not_equal_nullable_int_HasValue when doing this. |
roji
added a commit
to roji/efcore
that referenced
this issue
Jan 12, 2022
This was referenced Jan 13, 2022
Closed
roji
added a commit
to roji/efcore
that referenced
this issue
Jan 22, 2022
roji
added a commit
to roji/efcore
that referenced
this issue
Dec 1, 2022
Removing unnecessary parentheses Closes dotnet#26767
maumar
pushed a commit
that referenced
this issue
Jan 12, 2023
Removing unnecessary parentheses Closes #26767
maumar
pushed a commit
that referenced
this issue
Mar 1, 2023
Removing unnecessary parentheses Closes #26767
maumar
pushed a commit
that referenced
this issue
Mar 1, 2023
Removing unnecessary parentheses Closes #26767 rebase, fix sqlite tests and move some ops tests around
maumar
pushed a commit
that referenced
this issue
Mar 1, 2023
Removing unnecessary parentheses Closes #26767
maumar
added a commit
that referenced
this issue
Mar 9, 2023
Removing unnecessary parentheses Closes #26767 Co-authored-by: Shay Rojansky <[email protected]>
This was referenced Dec 5, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#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.
The text was updated successfully, but these errors were encountered: