Refs #25894 -- Fixed evaluation of zero-length slices of QuerySet.values() on Oracle.

This commit is contained in:
Sergey Fedoseev 2015-12-18 00:16:43 +05:00 committed by Tim Graham
parent 9af40f5df1
commit ed1bcf0515
3 changed files with 3 additions and 5 deletions

View file

@ -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.