Changes between Initial Version and Version 1 of Ticket #36290
- Timestamp:
- Apr 2, 2025, 4:45:52 PM (8 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #36290
- Property Has patch set
-
TabularUnified Ticket #36290 – Description
initial v1 1 1 [https://discord.com/channels/856567261900832808/859997770274045954/1357036282651345006 As reported by Baptiste on Discord] 2 2 3 --- 3 ----- 4 4 5 5 Because the `tuple_lookups.TupleIn.process_rhs` logic doesn't replicate the `None` eliding logic on `lookups.In.process_rhs` [https://github.com/django/django/blob/c7ff347c641f2f97fa9f2f7d182982f789a211b4/django/db/models/lookups.py#L527-L536 logic] the usage of `TupleIn` introduced in 626d77e52a3f247358514bcf51c761283968099c to resolve #36116 resulted in the unnecessary execution of queries of the form 6 6 7 {{{# sql7 {{{#!sql 8 8 SELECT "releases_release"."version" FROM "releases_release" WHERE ("releases_release"."version") IN ((NULL)) 9 9 }}}