mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Documentation fixes for the select_for_update change.
Refs #22343; thanks Tim Graham for the fixes.
This commit is contained in:
parent
f095356ba2
commit
59b1d3098f
3 changed files with 18 additions and 19 deletions
|
@ -1365,7 +1365,7 @@ do not support ``nowait``, such as MySQL, will cause a
|
|||
:exc:`~django.db.DatabaseError` to be raised. This is in order to prevent code
|
||||
unexpectedly blocking.
|
||||
|
||||
Executing a queryset with ``select_for_update`` in autocommit mode is
|
||||
Evaluating a queryset with ``select_for_update`` in autocommit mode is
|
||||
an error because the rows are then not locked. If allowed, this would
|
||||
facilitate data corruption, and could easily be caused by calling,
|
||||
outside of any transaction, code that expects to be run in one.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue