1
0
mirror of https://github.com/django/django.git synced 2024-11-18 23:44:22 +00:00
django/tests
Anssi Kääriäinen a193372753 Fixed #17886 -- Fixed join promotion in ORed nullable queries
The ORM generated a query with INNER JOIN instead of LEFT OUTER JOIN
in a somewhat complicated case. The main issue was that there was a
chain of nullable FK -> non-nullble FK, and the join promotion logic
didn't see the need to promote the non-nullable FK even if the
previous nullable FK was already promoted to LOUTER JOIN. This resulted
in a query like a LOUTER b INNER c, which incorrectly prunes results.
2012-08-21 21:23:57 +03:00
..
modeltests [py3] Fixed the str tests. 2012-08-16 09:44:42 +02:00
regressiontests Fixed #17886 -- Fixed join promotion in ORed nullable queries 2012-08-21 21:23:57 +03:00
templates
runtests.py [py3] Replaced unicode/str by six.text_type/bytes. 2012-07-22 09:29:54 +02:00
test_sqlite.py Use faster password hasher in sqlite tests 2012-04-30 22:10:27 +03:00
urls.py Made sure the new project template functionality works when the template 2011-12-29 17:03:38 +00:00