in reply to MySQL syntax error for ON DUPLICATE KEY UPDATE
I would examine what SQL is actually being sent to the server. Check your server logs or see the section on "TRACING" in the DBI documentation.
In Section
Seekers of Perl Wisdom
in reply to MySQL syntax error for ON DUPLICATE KEY UPDATE