Have you got DBI's RasieError set? Look for a call to DBI->connect and see if RaiseError => 1. If yes, then your call to do on line 14 just before your Dumper call will die and all your seeing in the Dumper output is from the last successful call and not the one that is failing. If so do:
eval { $dbh->do($sql); }; if (my $ev = $@) { print Dumper($sq); die $ev; }
Now you'll only get Dumper output for the failing case.
In reply to Re^2: error ..ON DUPLICATE KEY UPDATE value='''
by mje
in thread error ..ON DUPLICATE KEY UPDATE value='''
by nafri
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |