#10028: Incorrect SQL join construction
---------------------------------------------------+------------------------
          Reporter:  brian                         |         Owner:  mtredinnick
            Status:  new                           |     Milestone:  1.1        
         Component:  Database layer (models, ORM)  |       Version:  1.0        
        Resolution:                                |      Keywords:             
             Stage:  Accepted                      |     Has_patch:  0          
        Needs_docs:  0                             |   Needs_tests:  0          
Needs_better_patch:  0                             |  
---------------------------------------------------+------------------------
Comment (by mtredinnick):

 In this particular case, the potential problems in comment:2 don't apply.
 The class names and attribute names are in different namespaces, so
 clashes won't occur (although it certainly makes the code confusing).
 There is a legitimate bug here.

 The issue is that ordering joins aren't being promoted to outer joins in
 all the right circumstances.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/10028#comment:4>
Django <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
-~----------~----~----~----~------~----~------~--~---

Reply via email to