http://www.perlmonks.org?node_id=513229

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-

Replies are listed 'Best First'.
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