summaryrefslogtreecommitdiff
path: root/tests/regressiontests/conditional_processing
diff options
context:
space:
mode:
authorAnssi Kääriäinen <akaariai@gmail.com>2012-05-23 23:25:23 +0300
committerAnssi Kääriäinen <akaariai@gmail.com>2012-05-24 18:42:06 +0300
commit8c72aa237918e31a525022f72b22cac75451af86 (patch)
tree392ea15c88f17b892bc4eeeef294313fa915f801 /tests/regressiontests/conditional_processing
parent2daf1ae8b9676c809ed948202cbd7bec4dd62740 (diff)
Fixed qs.order_by() join promotion for already existing joins
When order_by causes new joins to be added to the query, the joins must be LEFT OUTER joins for nullable relations, otherwise the order_by could cause the results to be altered. This commit fixes the logic to only promote new joins, previously all joins in the order_by lookup path were promoted. Thanks to Bruno Desthuilliers for spotting this corner case.
Diffstat (limited to 'tests/regressiontests/conditional_processing')
0 files changed, 0 insertions, 0 deletions