diff options
| author | Shai Berger <shai@platonix.com> | 2014-08-01 01:36:06 +0300 |
|---|---|---|
| committer | Shai Berger <shai@platonix.com> | 2014-08-05 03:12:08 +0300 |
| commit | 746f2a4bed52254e1034c4462033226ff565146c (patch) | |
| tree | b85dfcc4be58245803c68c44a29d38a26bd29782 /django/db/backends/__init__.py | |
| parent | 6d256ae248cfa1f111d03d29402a669a95cdff3c (diff) | |
Fixed #23061: Avoided setting a limit on a query for get with select_for_update on Oracle
Thanks Michael Miller for reporting the issue.
Diffstat (limited to 'django/db/backends/__init__.py')
| -rw-r--r-- | django/db/backends/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/django/db/backends/__init__.py b/django/db/backends/__init__.py index 5577d3b46e..aa0191b068 100644 --- a/django/db/backends/__init__.py +++ b/django/db/backends/__init__.py @@ -666,6 +666,9 @@ class BaseDatabaseFeatures(object): uppercases_column_names = False + # Does the backend support "select for update" queries with limit (and offset)? + supports_select_for_update_with_limit = True + def __init__(self, connection): self.connection = connection |
