django/django — pull request #92 by akaariai (2012-05-26 04:36:48+00:00)
Title: Refactor the empty/full result logic in WhereNode.as_sql()

Made sure the WhereNode.as_sql() handles various EmptyResultSet and
FullResultSet conditions correctly. Got rid of the FullResultSet
exception class. It is now represented by '', [].

I will commit this patch in a couple of days if nobody objects.