#22291: transactions.atomic (with savepoints) doesn't work correctly with deadlocks in mysql -------------------------------------+------------------------------------- Reporter: err | Owner: nobody Type: Uncategorized | Status: new Component: Database layer | Version: 1.6 (models, ORM) | Resolution: Severity: Normal | Triage Stage: Keywords: | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by err): I guess the problem is that here {{{ + Reporter.objects.create(id=1, first_name="Tintin") + cursor2.execute("UPDATE transactions_reporter SET id = 2 WHERE NOT id = 1;") }}} This two lines should run in parallel. I'll give you more info tomorrow. thanks for patience :) -- Ticket URL: <https://code.djangoproject.com/ticket/22291#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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/061.98b5d53dc8d2d4502b911451524006db%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.