mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
[3.1.x] Fixed #31584 -- Fixed crash when chaining values()/values_list() after Exists() annotation and aggregation on Oracle.
Oracle requires the EXISTS expression to be wrapped in a CASE WHEN in the GROUP BY clause. Regression inefa1908f66. Backport of3a941230c8from master
This commit is contained in:
committed by
Carlton Gibson
parent
bebb7d4d7e
commit
b46b0f80e8
@@ -18,3 +18,7 @@ Bugfixes
|
||||
|
||||
* Fixed a regression in Django 3.0 where aggregates used wrong annotations when
|
||||
a queryset has multiple subqueries annotations (:ticket:`31568`).
|
||||
|
||||
* Fixed a regression in Django 3.0 where ``QuerySet.values()`` and
|
||||
``values_list()`` crashed if a queryset contained an aggregation and an
|
||||
``Exists()`` annotation on Oracle (:ticket:`31584`).
|
||||
|
||||
Reference in New Issue
Block a user