#33050: QuerySet.count() on combined queries with select_related() crashes on
MySQL.
-------------------------------------+-------------------------------------
     Reporter:  Sunkyue              |                    Owner:  Jordan
                                     |  Bae
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  3.2
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  fixed
     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 GitHub <noreply@…>):

 In [changeset:"a411b909671b7b8f8773af6b7cffa6992fe29138" a411b909]:
 {{{
 #!CommitTicketReference repository=""
 revision="a411b909671b7b8f8773af6b7cffa6992fe29138"
 Refs #33050 -- Added test for QuerySet.count() on combined queries with
 select_related().

 Thanks Simon Charette for noticing this.

 Fixed in 70499b25c708557fb9ee2264686cd172f4b2354e.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33050#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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070184a3a1b05c-dac9c9e2-41dc-4dc8-8752-16644ac0100e-000000%40eu-central-1.amazonses.com.

Reply via email to