Re: broken DBD-mysql-2.9002 (fixed)
am 26.09.2003 17:40:18 von Wolfgang FriebelOn Fri, 26 Sep 2003, Jochen Wiedmann wrote:
>
> Hi, Wolfgang,
>
> as Rudy is *the* maintainer nowadays, I am simply forwarding your mail to
> the relevant mailing list.
Thanks,
meanwhile by trial and error I found the bug that causes the weird
behaviour. This time it was just too much code.
If I do remove the subroutine get_info (lib/DBD/mysql.pm, line 414):
####################
# get_info()
# Generated by DBI::DBD::Metadata
sub get_info {
my($dbh, $info_type) = @_;
require DBD::mysql::GetInfo;
my $v = $DBD::mysql::GetInfo::info{int($info_type)};
$v = $v->($dbh) if ref $v eq 'CODE';
return $v;
}
the sample script provided with the previous mail gives the expected
output also with DBD-mysql-2.9002.
Best regards
--
Wolfgang Friebel
Deutsches Elektronen-Synchrotron DESY | Phone: +49 33762 77372 |
Platanenallee 6 | Fax: +49 33762 77216 |
D-15738 Zeuthen Germany | E-Mail: Wolfgang.Friebel@desy.de |
--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org