The Ninja K has asked for the wisdom of the Perl Monks concerning the following question:
next the code,DBD::mysql::db do failed: You have an error in your SQL syntax near '' + at line 1 at /usr/local/subqueue/upps_ret.pl line 103. ERROR: update upps_ret_q set state="C", message='Merch: Succeeded,Term +: Succeeded' where seq_n=
now, the box detailsmy $st = sprintf "update upps_ret_q set state=\"%s\", message=%s + where seq_n=%5d",$state,$dbh->quote($msg),int($key);
As I said, this problem occurs every so often, on no predictable basis that I've been able to discern. But the code runs hundreds of times a day. The input data is as expected, nothing out of wack there, and int returns 0 on undef and non-numeric input, so technically that statement should end with seq_n=0 in a better world. But it doesn't. As such, I'm starting to wonder if this is a bug in 5.6.0? If so, should I consider upgrading to 5.8.x or within the 5.6.X series? Any suggestion on where I can find a bug list for either releases? I'd like to upgrade to 5.8.x (yay unicode), but I'd also like to not run into any known bugs with our code in the 5.8.x series as this is a production box...Red Hat Linux release 7.0 (Guinness) Kernel 2.2.16-22 on an i686 perl 5.6.0
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Strange experiences w/ perl 5.6.0 on linux 2.2.16-22
by pg (Canon) on Dec 09, 2002 at 19:38 UTC | |
by diotalevi (Canon) on Dec 09, 2002 at 20:25 UTC | |
by The Ninja K (Novice) on Dec 09, 2002 at 20:57 UTC |