mirror of
https://github.com/django/django.git
synced 2025-10-27 15:46:10 +00:00
When a query had a complex where condition (a condition targeting more than the base table) a subquery was used for deletion. However, the query had default ordering from the model's meta and Oracle doesn't work with ordered subqueries. The regression was caused by fast-path deletion code introduced in1cd6e04cd4for fixing #18676. Thanks to Dylan Klomparens for the report. Backpatch of8ef3235034