#2705: [patch] Add optional FOR UPDATE clause to QuerySets
---------------------------------------------------+------------------------
          Reporter:  Hawkeye                       |         Owner:  anonymous
            Status:  new                           |     Milestone:           
         Component:  Database layer (models, ORM)  |       Version:  SVN      
        Resolution:                                |      Keywords:           
             Stage:  Accepted                      |     Has_patch:  1        
        Needs_docs:  0                             |   Needs_tests:  0        
Needs_better_patch:  1                             |  
---------------------------------------------------+------------------------
Comment (by forest):

 I believe that transaction.set_dirty should be called when acquiring the
 row lock.  The transaction must be rolled back or committed for the lock
 to be released.  TransactionMiddleware won't do this unless the
 transaction is marked as dirty.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/2705#comment:57>
Django <http://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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to