#29416: Undesired subquery added to the GROUP BY clause -------------------------------------+------------------------------------- Reporter: Antoine Pinsard | Owner: felixxm Type: Bug | Status: closed Component: Database layer | Version: 2.0 (models, ORM) | Severity: Release blocker | Resolution: fixed Keywords: groupby, subquery | Triage Stage: Ready for | checkin Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by Tim Graham <timograham@…>): In [changeset:"b6e48f514ebe4e31b76e1750e043d4f296e645dc" b6e48f51]: {{{ #!CommitTicketReference repository="" revision="b6e48f514ebe4e31b76e1750e043d4f296e645dc" [2.1.x] Fixed #29416 -- Removed unnecesary subquery from GROUP BY clause on MySQL when using a RawSQL annotation. Regression in 1d070d027c218285b66c0bde8079034b33a87f11. Backport of 4ab1f559e8d1264bcb20bb497988973194f5d8f2 from master }}} -- Ticket URL: <https://code.djangoproject.com/ticket/29416#comment:13> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/066.509532e09172da43086f22e09932bf55%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.