Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

DBD Warning

by perl_lover (Chaplain)
on Dec 01, 2005 at 10:23 UTC ( #513229=perlquestion: print w/ replies, xml ) Need Help??
perl_lover has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks,

I am using DBD::Oracle and executing a Oracle Query with DBI. While looping through fetch_row_array i am getting this warning.
DBD::Oracle::st fetchrow_array warning: (err=0, errstr=undef, state=un +def)


Can anybody tell me how to get rid of this warning ?

-perl_lover-

Comment on DBD Warning
Download Code
Re: DBD Warning
by ChemBoy (Priest) on Dec 01, 2005 at 18:23 UTC

    I understand this to be caused by a mismatch between DBI and DBD::Oracle versions—if one was upgraded more recently than the other, bringing the other one up to speed should make the spurious warning go away. Alternatively, though, you can set the PrintWarn attribute of either the DBH or the STH to a false value, which will suppress printing of that (and every other!) warning.



    If God had meant us to fly, he would *never* have given us the railroads.
        --Michael Flanders

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://513229]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2014-12-25 08:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls