django1/django/db/models/sql
Malcolm Tredinnick 5c32fe7fad Fixed #8790 -- Multi-branch join trees that shared tables of the same name were
sometimes also sharing aliases, instead of creating their own. This was
generating incorrect SQL.

No representative test for this fix yet because I haven't had time to write one
that fits in nicely with the test suite. But it works for the monstrous example
in #8790 and a bunch of other complex examples I've created locally. Will write
a test later.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8853 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 13:52:07 +00:00
..
__init__.py Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +00:00
constants.py Fixed #8439 -- Complex combinations of Q-objects (using both conjunctions and 2008-09-02 02:16:41 +00:00
datastructures.py Made it possible to pickle DateQuerySets. 2008-08-20 22:38:15 +00:00
query.py Fixed #8790 -- Multi-branch join trees that shared tables of the same name were 2008-09-02 13:52:07 +00:00
subqueries.py Fixed extra_select with DateQuery in Oracle 2008-09-01 18:45:49 +00:00
where.py Allow for matches against unsaved objects in querysets (which will therefore 2008-07-23 06:12:15 +00:00