-
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
Labels
area-query
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
punted-for-7.0
Originally planned for the EF Core 7.0 (EF7) release, but moved out due to resource constraints.
type-enhancement
Milestone
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
the
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
label
Jan 17, 2022
roji
added a commit
to roji/efcore
that referenced
this issue
Jan 22, 2022
roji
changed the title
Place parentheses around IS NULL only when needed (7.0)
Remove unneeded parentheses in SQL queries
Aug 8, 2022
ajcvickers
added
priority-bug
Issues which requires API breaks and have bigger impact hence should be fixed earlier in the release
punted-for-7.0
Originally planned for the EF Core 7.0 (EF7) release, but moved out due to resource constraints.
labels
Sep 10, 2022
roji
removed
priority-bug
Issues which requires API breaks and have bigger impact hence should be fixed earlier in the release
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
labels
Nov 25, 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 <roji@roji.org>
roji
added
the
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
label
Mar 9, 2023
This was referenced Dec 5, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area-query
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
punted-for-7.0
Originally planned for the EF Core 7.0 (EF7) release, but moved out due to resource constraints.
type-enhancement
#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: