#9227: The modeltests/serializer unit test case fails due to missing author
record
with id=4
--------------------------------------------------------+-------------------
Reporter: egenix_viktor <[EMAIL PROTECTED]> | Owner:
nobody
Status: closed | Milestone:
Component: Database layer (models, ORM) | Version: 1.0
Resolution: invalid | Keywords: unit
test foreign key constraint IntegrityError
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
--------------------------------------------------------+-------------------
Comment (by anonymous):
Replying to [comment:1 russellm]:
> This is a known problem with the MySQL database backend when using
InnoDB tables. For some reason, InnoDB can't defer row referential
integrity checks to the end of a transaction boundary, so you can't insert
a forward reference. This test case works fine under Oracle and Postgres,
which both implement row referential integrity properly.
The bug you referred to is #3615
--
Ticket URL: <http://code.djangoproject.com/ticket/9227#comment:3>
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
-~----------~----~----~----~------~----~------~--~---