#33050: QuerySet.count() on combined queries with select_related() crashes on
MySQL.
-------------------------------------+-------------------------------------
     Reporter:  Sunkyue              |                    Owner:  Jordan
                                     |  Bae
         Type:  Bug                  |                   Status:  assigned
    Component:  Database layer       |                  Version:  3.2
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  orm, count, union,   |             Triage Stage:  Accepted
  select_related mysql               |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Simon Charette):

 I haven't tried it out but I wouldn't be surprised if this was fixed by
 70499b25c708557fb9ee2264686cd172f4b2354e (#34123) as it ensures that all
 combined queries have non-colliding aliases.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33050#comment:11>
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070184a2cdb970-57f765cb-fe48-4afc-a2e0-3792c816eefe-000000%40eu-central-1.amazonses.com.

Reply via email to