I noticed that in the get_or_create test case, Oracle fails because
the cx_Oracle database driver raises a DatabaseError, not a more
specific IntegrityError, when an INSERT lacks a required field.
(Malcolm anticipated this in his commit message for r8450.)  Looking
at the C code for the driver, it appears cx_Oracle maps some ORA-xxxx
error codes to IntegrityError, but not this one (ORA-01400).

I think it's just a bug in cx_Oracle, and I've posted these same
details to their mailing list to see if the author would fix it.

So this is just a heads up to keep anyone from trying to fix the
get_or_create test case for Oracle right now--I think it should
continue to fail until we know whether or not the driver will be
changed.
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to