From e1c00f8b361bf89deb68733bbc5189734bbcd6b5 Mon Sep 17 00:00:00 2001 From: Simon Charette Date: Sun, 21 May 2023 16:59:56 +0100 Subject: [4.2.x] Fixed #34580 -- Avoided unnecessary computation of selected expressions in SQLCompiler. Performance regression in 278881e37619278789942513916acafaa88d26f3. Co-authored-by: David Smith Backport of 98f6ada0e2058d67d91fb6c16482411ec2ca0967 from main --- docs/releases/4.2.2.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs') diff --git a/docs/releases/4.2.2.txt b/docs/releases/4.2.2.txt index 7506b8a237..475531b531 100644 --- a/docs/releases/4.2.2.txt +++ b/docs/releases/4.2.2.txt @@ -22,3 +22,6 @@ Bugfixes * Fixed a bug in Django 4.2 where :option:`makemigrations --update` didn't respect the ``--name`` option (:ticket:`34568`). + +* Fixed a performance regression in Django 4.2 when compiling queries without + ordering (:ticket:`34580`). -- cgit v1.3