1
0
mirror of https://github.com/django/django.git synced 2025-01-24 00:59:20 +00:00

Fixed a bozo bug from [7885]. Fixed #7698.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7901 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Malcolm Tredinnick 2008-07-12 11:01:57 +00:00
parent 4aa6c57251
commit 52d985fac3

View File

@ -286,7 +286,7 @@ class Query(object):
if with_limits:
if self.high_mark is not None:
result.append('LIMIT %d' % (self.high_mark - self.low_mark))
if self.low_mark is not None:
if self.low_mark:
if self.high_mark is None:
val = self.connection.ops.no_limit_value()
if val: