#36915: Add support for select_for_update for implicit transactions
-------------------------------------+-------------------------------------
     Reporter:  David                |                    Owner:  MANAS
         Type:                       |  MADESHIYA
  Cleanup/optimization               |                   Status:  closed
    Component:  Database layer       |                  Version:  6.0
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  invalid
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by MANAS MADESHIYA):

 I have already worked on this ticket and have a
 proof of concept ready.

 The fix involves adding "and not self.query.subquery"
 condition in compiler.py to allow select_for_update()
 in subqueries of DML statements.

 Previous PR: https://github.com/django/django/pull/20773

 Please consider accepting this ticket so I can
 reopen the PR.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36915#comment:6>
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/0107019c9b0146ba-245586a0-cf76-4917-ba2d-3e1df30452a3-000000%40eu-central-1.amazonses.com.

Reply via email to