#22343: select_for_update should not be executed outside of transactions -------------------------------------+------------------------------------- Reporter: timo | Owner: shai Type: Bug | Status: closed Component: Database layer | Version: master (models, ORM) | Resolution: fixed Severity: Release blocker | Triage Stage: Ready for Keywords: | checkin Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by Shai Berger <shai@…>): In [changeset:"690a5984a3c0a706b8cc296bdcccd524b2079559"]: {{{ #!CommitTicketReference repository="" revision="690a5984a3c0a706b8cc296bdcccd524b2079559" [1.6.x] Fixed #22343 -- Disallowed select_for_update in autocommit mode The ticket was originally about two failing tests, which are fixed by putting their queries in transactions. Thanks Tim Graham for the report, Aymeric Augustin for the fix, and Simon Charette, Tim Graham & Loïc Bistuer for review. Backport of b990df1d63 from master }}} -- Ticket URL: <https://code.djangoproject.com/ticket/22343#comment:5> 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/062.09e6cda379cdbbb0ce66d164b519b66c%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.