Hi, when generating sql for WhereNode represented as (AND: (EverythingNode)), in http://code.djangoproject.com/browser/django/trunk/django/db/models/sql/where.py#L104 the empty variable will stay False, thus throwing the EmptyResultSet further on (L120) and in consequence e.g. returning EmptyQuerySet on higher level. Imvho, in case of FullResultSet handling you're missing setting empty variable to True (can be first thing done after catching the exception).
How one can get (AND: (EverythingNode)) WhereNode to be generated? http://code.djangoproject.com/browser/django/trunk/django/db/models/sql/query.py#L487 Best regards, Mikołaj -- You received this message because you are subscribed to the Google Groups "Django developers" 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-developers?hl=en.
