#7759: QuerySet count method is wrong while cached results filling
------------------------------+---------------------------------------------
Reporter: kcarnold | Owner: nobody
Status: new | Milestone:
Component: Database wrapper | Version: SVN
Keywords: | Stage: Unreviewed
Has_patch: 0 |
------------------------------+---------------------------------------------
Example:
{{{
>>> Concept.objects.count()
288154L
>>> c=Concept.objects.all()
>>> for x in c:
... print c.count()
... break
...
100
}}}
I can't think of any actual usage scenario that would hit this, but I
realized it was a problem while reading the {{{QuerySet}}} code.
--
Ticket URL: <http://code.djangoproject.com/ticket/7759>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---