1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

[2.1.x] Fixed #29416 -- Removed unnecesary subquery from GROUP BY clause on MySQL when using a RawSQL annotation.

Regression in 1d070d027c.
Backport of 4ab1f559e8 from master
This commit is contained in:
Mariusz Felisiak
2018-05-28 00:25:19 +02:00
committed by Tim Graham
parent 158e7804e7
commit b6e48f514e
3 changed files with 18 additions and 1 deletions

View File

@@ -14,3 +14,6 @@ Bugfixes
* Fixed detection of custom URL converters in included patterns
(:ticket:`29415`).
* Fixed a regression that added an unnecessary subquery to the ``GROUP BY``
clause on MySQL when using a ``RawSQL`` annotation (:ticket:`29416`).