#31331: GROUP BY optimization doesn't work properly when ONLY_FULL_GROUP_BY 
mode is
enabled on MySQL.
-------------------------------------+-------------------------------------
     Reporter:  Mariusz Felisiak     |                    Owner:  Jordan
                                     |  Bae
         Type:  Bug                  |                   Status:  assigned
    Component:  Database layer       |                  Version:  dev
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  ONLY_FULL_GROUP_BY   |             Triage Stage:  Accepted
  MySQL MariaDB                      |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Simon Charette):

 Jordan, if you're still working on this issue the solution is likely to
 have the `allows_group_by_pk` feature flag return `"ONLY_FULL_GROUP_BY"
 not in self.connection.sql_mode` instead of always `True` for the MySQL
 backend and then revert aee0bebc2faf9c6de8211b05d5f1281dc016084f.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31331#comment:8>
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/01070182ce3e392a-617c1a97-e508-471b-a52e-9950b9957fab-000000%40eu-central-1.amazonses.com.

Reply via email to