From c402db2e2f3315dc3292526a6bdae36630026dfe Mon Sep 17 00:00:00 2001 From: Simon Charette Date: Sun, 13 Dec 2015 23:46:41 -0500 Subject: [1.9.x] Fixed #25882 -- Prevented fast deletes matching no rows from crashing on MySQL. Thanks to Trac aliases gerricom for the report, raphaelmerx for the attempts to reproduce and Sergey Fedoseev and Tim for the review. Refs #16891 Backport of 8035cee92293f3319919c8248c7787ba43c05917 from master --- docs/releases/1.9.1.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs') diff --git a/docs/releases/1.9.1.txt b/docs/releases/1.9.1.txt index bc4a0be8ad..eee5a88737 100644 --- a/docs/releases/1.9.1.txt +++ b/docs/releases/1.9.1.txt @@ -34,3 +34,6 @@ Bugfixes created by ``startapp`` on Python 2 (:ticket:`25909`). Add this line to your own ``apps.py`` files created using Django 1.9 if you want your migrations to work on both Python 2 and Python 3. + +* Prevented ``QuerySet.delete()`` from crashing on MySQL when querying across + relations (:ticket`25882`). -- cgit v1.3