#29808: Applied migration detection may fail when using a case-insensitive
collation
-------------------------------------+-------------------------------------
Reporter: Elaci0 | Owner: Hasan
| Ramezani
Type: Bug | Status: assigned
Component: Migrations | Version: master
Severity: Normal | Resolution:
Keywords: migration fake- | Triage Stage: Accepted
initial case sensitive |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"d0c86a1df4564c7c29d5112a73a32d369958880d" d0c86a1d]:
{{{
#!CommitTicketReference repository=""
revision="d0c86a1df4564c7c29d5112a73a32d369958880d"
Refs #29808 -- Optimized MigrationExecutor.detect_soft_applied().
Use set() for iterables used only for containment checks. Simplify
column checks O(n) instead of O(2n).
Thanks Simon Charette for an idea.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/29808#comment:7>
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/064.26152f60ea46c2fe77f804059c2131b2%40djangoproject.com.