#36722: MySQL backend raises error when selecting 0 using an expression 
targeting
an autofield.
-------------------------------------+-------------------------------------
     Reporter:  Clifford Gama        |                    Owner:  Clifford
                                     |  Gama
         Type:  Bug                  |                   Status:  assigned
    Component:  Database layer       |                  Version:  dev
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  allows_auto_pk_0     |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Jacob Walls):

 * stage:  Unreviewed => Accepted

Comment:

 Thanks, makes sense. We can leave it as a bug, as it unnecessarily makes a
 query that should work on all backends fail on MySQL.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36722#comment:3>
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 visit 
https://groups.google.com/d/msgid/django-updates/0107019a7410cf14-fa53854c-a303-47c1-b46d-b3c6d1a31a88-000000%40eu-central-1.amazonses.com.

Reply via email to