diff options
| author | Simon Charette <charette.s@gmail.com> | 2025-06-14 11:04:17 -0400 |
|---|---|---|
| committer | Natalia <124304+nessita@users.noreply.github.com> | 2025-06-30 20:16:08 -0300 |
| commit | a150160c9fc6ba6220f1e63863b03e7f7978b747 (patch) | |
| tree | 0aea5b13e19b4d06442376f94c406e00838bffda /django/__init__.py | |
| parent | db5da3c91c3122300680c4e7200a463273a5351e (diff) | |
[5.2.x] Fixed #36464 -- Fixed "__in" tuple lookup on backends lacking native support.
When native support for tuple lookups is missing in a DB backend, it can
be emulated with an EXISTS clause. This is controlled by the backend
feature flag "supports_tuple_lookups".
The mishandling of subquery right-hand side in `TupleIn` (added to
support `CompositePrimaryKey` in Refs #373) was likely missed because
the only core backend we test with the feature flag disabled
(Oracle < 23.4) supports it natively.
Thanks to Nandana Raol for the report, and to Sarah Boyce, Jacob Walls,
and Natalia Bidart for reviews.
Backport of 192bc7a7be92e20cc250907fb4083df689715679 from main.
Diffstat (limited to 'django/__init__.py')
0 files changed, 0 insertions, 0 deletions
