mirror of
https://github.com/django/django.git
synced 2025-11-28 22:49:09 +00:00
Refs #25894 -- Fixed evaluation of zero-length slices of QuerySet.values() on Oracle.
This commit is contained in:
parent
9af40f5df1
commit
ed1bcf0515
3 changed files with 3 additions and 5 deletions
|
|
@ -1550,6 +1550,9 @@ class Query(object):
|
|||
else:
|
||||
self.low_mark = self.low_mark + low
|
||||
|
||||
if self.low_mark == self.high_mark:
|
||||
self.set_empty()
|
||||
|
||||
def clear_limits(self):
|
||||
"""
|
||||
Clears any existing limits.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue