django1/django/db/models
Simon Charette f6405c0b8e Fixed #31965 -- Adjusted multi-table fast-deletion on MySQL/MariaDB.
The optimization introduced in 7acef095d7 did 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 in 5b83bae031.

Thanks Anton Plotkin for the report.

Refs #23576.
2020-08-31 08:11:28 +02:00
..
fields Fixed #31956 -- Fixed crash of ordering by JSONField with a custom decoder on PostgreSQL. 2020-08-28 19:09:46 +02:00
functions Fixed #21181 -- Added Collate database function. 2020-08-11 22:21:08 +02:00
sql Fixed #31965 -- Adjusted multi-table fast-deletion on MySQL/MariaDB. 2020-08-31 08:11:28 +02:00
__init__.py Fixed #12990, Refs #27694 -- Added JSONField model field. 2020-05-08 07:23:31 +02:00
aggregates.py Fixed #30665 -- Added support for distinct argument to Avg() and Sum(). 2019-07-31 11:22:50 +02:00
base.py Fixed #31382 -- Made Model.save(update_fields=...) raise ValueError on non-concrete fields. 2020-08-12 21:13:55 +02:00
constants.py Refactored qs.add_q() and utils/tree.py 2013-03-13 10:44:49 +02:00
constraints.py Fixed #31745 -- Added error messages when using UniqueConstraint.include/opclasses with deferrable. 2020-06-29 06:41:23 +02:00
deletion.py Refs #21171 -- Made Collector.delete() rollback in the correct database. 2020-05-29 10:24:37 +02:00
enums.py Fixed #31154 -- Added support for using enumeration types in templates. 2020-01-10 07:52:06 +01:00
expressions.py Fixed #31919 -- Resolved output_field of IntegerField subclasses combinations. 2020-08-31 06:42:40 +02:00
indexes.py Refs #28077 -- Added opclasses to Index.__repr__(). 2020-06-17 10:32:43 +02:00
lookups.py Bumped minimum isort version to 5.1.0. 2020-07-30 10:58:59 +02:00
manager.py Fixed #31223 -- Added __class_getitem__() to Manager and QuerySet. 2020-04-15 11:26:11 +02:00
options.py Refs #27666 -- Ensured relationship consistency on delayed reloads. 2020-04-07 09:20:46 +02:00
query.py Fixed #31947 -- Made QuerySet.update_or_create() reuse get_or_create(). 2020-08-27 11:46:47 +02:00
query_utils.py Fixed #31680 -- Removed unnecessary getattr() call in DeferredAttribute.__get__(). 2020-06-10 12:24:18 +02:00
signals.py Fixed #31327 -- Deprecated providing_args argument for Signal. 2020-03-05 09:38:52 +01:00
utils.py Refs #31046 -- Added django.db.models.utils.resolve_callables(). 2019-12-03 19:47:32 +01:00