On Jun 27, 2011, at 4:52 PM, Russell Keith-Magee wrote:

> Unfortunately, not much. Your test has validated that the extra code
> doesn't break anything under MyISAM, and this is certainly useful.
> However, the root problem only exists with InnoDB because of its...
> eclectic... implementation of row level constraints. MyISAM doesn't
> have constraints, so your test hasn't exercised the part of the code
> that needs to be exercised heavily.

One unintended benefit of the current patch is that it actually will (if I'm 
not mistaken) check for invalid foreign key references in MyISAM as well, since 
the check is run for all MySQL implementations (though not for any other 
backends). So MyISAM would normally silently allow bad foreign keys to be 
loaded from your fixture data, but with the patch you'll now get an error.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to