mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
The optimization introduced in7acef095d7did not properly handle deletion involving filters against aggregate annotations. It initially was surfaced by a MariaDB test failure but misattributed to an undocumented change in behavior that resulted in the systemic generation of poorly performing database queries in5b83bae031. Thanks Anton Plotkin for the report. Refs #23576.