Changes between Initial Version and Version 1 of Ticket #36290


Ignore:
Timestamp:
Apr 2, 2025, 4:45:52 PM (8 days ago)
Author:
Simon Charette
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36290

    • Property Has patch set
  • TabularUnified Ticket #36290 – Description

    initial v1  
    11[https://discord.com/channels/856567261900832808/859997770274045954/1357036282651345006 As reported by Baptiste on Discord]
    22
    3 ---
     3-----
    44
    55Because 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
    66
    7 {{{#sql
     7{{{#!sql
    88SELECT "releases_release"."version" FROM "releases_release" WHERE ("releases_release"."version") IN ((NULL))
    99}}}
Back to Top