diff options
| author | Simon Charette <charette.s@gmail.com> | 2016-06-23 11:52:14 -0400 |
|---|---|---|
| committer | Simon Charette <charette.s@gmail.com> | 2016-08-08 12:01:43 -0400 |
| commit | b8e6e1b43b0bccec178dcc6708c5c8295abfb2e5 (patch) | |
| tree | f3c146f02ecf6b0181d790cc67d83ad53cd629f9 /docs/ref/databases.txt | |
| parent | 46509cf13dbf049f75077981c29ef2c60b5a96ab (diff) | |
Fixed #26500 -- Added SKIP LOCKED support to select_for_update().
Thanks Tim for the review.
Diffstat (limited to 'docs/ref/databases.txt')
| -rw-r--r-- | docs/ref/databases.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/databases.txt b/docs/ref/databases.txt index 35a3dbcbe8..983b7525c3 100644 --- a/docs/ref/databases.txt +++ b/docs/ref/databases.txt @@ -569,9 +569,9 @@ both MySQL and Django will attempt to convert the values from UTC to local time. Row locking with ``QuerySet.select_for_update()`` ------------------------------------------------- -MySQL does not support the ``NOWAIT`` option to the ``SELECT ... FOR UPDATE`` -statement. If ``select_for_update()`` is used with ``nowait=True`` then a -``DatabaseError`` will be raised. +MySQL does not support the ``NOWAIT`` and ``SKIP LOCKED`` options to the +``SELECT ... FOR UPDATE`` statement. If ``select_for_update()`` is used with +``nowait=True`` or ``skip_locked=True`` then a ``DatabaseError`` will be raised. Automatic typecasting can cause unexpected results -------------------------------------------------- |
