This part of DBIx::ContextualFetch is just a statement handle subclass.
It's trying to call $sth->SUPER::execute() which is where the error is
occurring.  I suppose it could be something about DBI instead of
DBD::Sybase, but I use DBIx::ContextualFetch with Oracle and I've never
seen the error.

The offending code:
 46 # local $sth->{Taint} leaks in old perls :(
 47 sub _untaint_execute {
 48     my $sth = shift;
 49     my $old_value = $sth->{Taint};
 50     $sth->{Taint} = 0;
 51     my $ret = $sth->SUPER::execute(@_);
 52     $sth->{Taint} = $old_value;
 53     return $ret;
 54 }

Philip

[EMAIL PROTECTED] wrote:
> Hi,
> 
> I have no knowledge of the DBIx::ContextualFetch module, and so have
> no idea whether upgrading DBD::Sybase could fix the problem.
> The issue could be related to multiple-result sets, or to some other
> Sybase-specific issue that isn't handled properly by
> DBIx::ContextualFetch, or maybe something else entirely...
> 
> Michael
> 
> 
> Extranet
> [EMAIL PROTECTED] - 24/07/2006 17:27
> 
> We are using, DBD::Sybase v1.02_01. The latest one seems to be v1.07.
> We could try the upgrade but it would be difficult to convince the
> production group unless we can say for sure that the latest version
> addresses this problem.
> 
> cc:ing the author to see if he has something to offer.
> 
> -Mohan
> 
> -----Original Message-----
> From: Garrett, Philip (MAN-Corporate)
> [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 24, 2006 8:17 PM
> To: Palisetti, Krishna_Mohan; dbi-users@perl.org
> Subject: RE: Problem with DBI
> 
> 
> Palisetti, Krishna_Mohan wrote:
>>> 
>>>> Hi, I'm seeing the following warning message from
>>>> DBIx::ContextualFetch intermittently. Use of uninitialized value
>>>> in null operation at
>>>> /usr/local/lib/perl5/site_perl/5.8.6/DBIx/ContextualFetch.pm line 
>>>> 51.
>>>> 
>>>> What does it mean? Sorry, I am not in a position to provide a
>>>> simple 
> 
>>>> test case as I still can't reproduce the problem at will.
>>>> 
>>>> [EMAIL PROTECTED]:~$ perl -MDBI -e 'DBI->installed_versions;'
>>>>   Perl            : 5.008006    (i86pc-solaris)
>>>>   OS              : solaris     (2.10)
>>>>   DBI             : 1.48
>>> 
>>> What version of DBIx::ContextualFetch do you have installed?
>> 
>> [EMAIL PROTECTED]:~$ perl -MDBIx::ContextualFetch -le 'print
>> $DBIx::ContextualFetch::VERSION' 1.02
> 
> I can't be sure, but it looks like it's probably a bug in the DBD
> you're using.  What driver are you using with this connection?  Is it
> the 
> latest version?
> 
>  Philip

Reply via email to