#29480 closed Cleanup/optimization (fixed)

mysql constraints are sometimes retrieved out of the order that they are defined in

Reported by: Thomas Grainger Owned by: nobody
Component: Database layer (models, ORM) Version: 2.0
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Change History (3)

comment:1 Changed 21 months ago by Thomas Grainger

To be clear this is not a problem with the order of the constraints themselves just the columns in those constraints: https://github.com/graingert/django/blob/43cc0fb511f989e1eb15137624b72c1e21a0cdd9/django/db/backends/mysql/introspection.py#L169

comment:2 Changed 21 months ago by Tim Graham

Component: UncategorizedDatabase layer (models, ORM)
Easy pickings: unset
Triage Stage: UnreviewedAccepted
Type: UncategorizedCleanup/optimization

comment:3 Changed 20 months ago by Tim Graham <timograham@…>

Resolution: fixed
Status: newclosed

In 4fba321a:

Fixed #29480 -- Made MySQL backend retrieve constraint columns in their defined order.

Note: See TracTickets for help on using tickets.
Back to Top