django1/django/db/models/sql
Malcolm Tredinnick 4fd359253d Modified [7760] to not include a "col is not NULL" fragment for non-nullable fields.
This avoids any use of "pk is not NULL" fragment, which behave inconsistently
in MySQL. Thanks to Russell Keith-Magee for diagnosing the problem and
suggesting the easy fix.

Refs #7076.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7812 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-01 10:12:50 +00:00
..
__init__.py Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +00:00
constants.py Fixed #7098 -- Old-style related-model order_by() syntax was being incorrectly 2008-04-28 02:27:19 +00:00
datastructures.py Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +00:00
query.py Modified [7760] to not include a "col is not NULL" fragment for non-nullable fields. 2008-07-01 10:12:50 +00:00
subqueries.py Reorganised the internals of the Where node a bit to fix some copying problems. 2008-06-27 03:27:20 +00:00
where.py Removed a dead line that was left in [7773] by accident. 2008-06-27 03:48:11 +00:00