Andy Dustman: > Here's another possible solution/workaround: MySQL supports an IGNORE > keyword on INSERT statements, which causes errors to be treated as > warnings. > > http://dev.mysql.com/doc/refman/5.0/en/insert.html > > Not sure how hard it would be to incorporate this for this particular > case, though.
You're sure? The docs say: "Specify IGNORE to ignore rows that would cause duplicate-key violations." The rows are ignored, not the errors. I haven't tried it out, though. Michael -- noris network AG - Deutschherrnstraße 15-19 - D-90429 Nürnberg - Tel +49-911-9352-0 - Fax +49-911-9352-100 http://www.noris.de - The IT-Outsourcing Company Vorstand: Ingo Kraupa (Vorsitzender), Joachim Astel, Hansjochen Klenk - Vorsitzender des Aufsichtsrats: Stefan Schnabel - AG Nürnberg HRB 17689 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" 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-developers?hl=en -~----------~----~----~----~------~----~------~--~---
