Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re^4: DBI fails to return an error code

by djten (Novice)
on Oct 25, 2011 at 18:23 UTC ( #933670=note: print w/replies, xml ) Need Help??

in reply to Re^3: DBI fails to return an error code
in thread DBI fails to return an error code

I have come across a solution for this. Which I find a relief, because it means I wasn't really slipping even further into insanity. This time.

The trace suggestion was a good one, even though the trace output on the two computers did not reveal anything definitive. The trace on my desktop computer showed the error being processed, and the trace on the laptop showed everything processing right through as if it was an error-free transaction. However, it did get me thinking about possible module bugs, since I had ruled out everything else I could think of.

I noticed that ActivePerl package manager showed that there was already a new version of DBD::MySQL available (4.020). So I updated both computers to that version, and when I ran the identical code on both computers again, they both caught and reported the error successfully and identically. So my laptop will once again be useful when DB-related debugging is necessary.

I noticed on CPAN, the DBD::MySQL bug report had some recent references to "Undefined $DBI::errstr," and the change log for v4.020 says "Numerous fixes for prepared statements," without much detail beyond that.

At this point I am going to go forward on the assumption that this was some kind of DBD::MySQL bug, and with v4.020 installed I am good to go.

Thank you to all who offered your wisdom to help with my problem.

  • Comment on Re^4: DBI fails to return an error code

Replies are listed 'Best First'.
Re^5: DBI fails to return an error code
by mje (Curate) on Nov 01, 2011 at 11:14 UTC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://933670]
[choroba]: Yes,
[choroba]: depends on your DNS

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2018-05-21 12:02 GMT
Find Nodes?
    Voting Booth?