diff options
| author | Anssi Kääriäinen <akaariai@gmail.com> | 2012-05-26 05:55:33 +0300 |
|---|---|---|
| committer | Anssi Kääriäinen <akaariai@gmail.com> | 2012-07-01 17:21:34 +0300 |
| commit | bd283aa844b04651b7c8b4e85f48c6dced1678f0 (patch) | |
| tree | 327212e84b9640608898257bcdf61861168911fd /django/db/models/sql/datastructures.py | |
| parent | 2b9fb2e6443c04e4415b17083d727bd80047b6e5 (diff) | |
Refactored the empty/full result logic in WhereNode.as_sql()
Made sure the WhereNode.as_sql() handles various EmptyResultSet and
FullResultSet conditions correctly. Also, got rid of the FullResultSet
exception class. It is now represented by '', [] return value in the
as_sql() methods.
Diffstat (limited to 'django/db/models/sql/datastructures.py')
| -rw-r--r-- | django/db/models/sql/datastructures.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/django/db/models/sql/datastructures.py b/django/db/models/sql/datastructures.py index 92d64e15dd..b8e06daf01 100644 --- a/django/db/models/sql/datastructures.py +++ b/django/db/models/sql/datastructures.py @@ -6,9 +6,6 @@ the SQL domain. class EmptyResultSet(Exception): pass -class FullResultSet(Exception): - pass - class MultiJoin(Exception): """ Used by join construction code to indicate the point at which a |
