-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # 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 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 <roji@roji.org>
This was referenced Dec 5, 2023
# for free
to join this conversation on GitHub.
Already have an account?
# 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: