Skip Menu |
 

This queue is for tickets about the DBD-mysql CPAN distribution.

Report information
The Basics
Id: 6323
Status: resolved
Priority: 0/
Queue: DBD-mysql

People
Owner: Nobody in particular
Requestors: spurkis [...] quiup.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.9003
Fixed in: (no value)



Subject: make test fails on OS X 10.3 / perl 5.8.4
Hi, Building DBD::mysql fails at 94.44% okay on OS X 10.3, using versions: mysql-standard-4.0.18-apple-darwin6.8-powerpc DBD-mysql-2.9003 The culprit: t/mysql............FAILED tests 46-48 Failed 3/68 tests, 95.59% okay running the script produces no useful output: ... not ok 46 not ok 47 not ok 48 But for what it's worth, after running it through the debugger, it looks like an issue to do with the case returned by: $dbh->query(...)->table() $dbh->listfields(...)->table() It's falling over around line 495 in t/mysql.t. Some output from the debugger: $ perl -d -Mblib t/mysql.t [snip!] 1..68 DB<1> b 497 DB<2> c ok 1 ... ok 42 main::(t/mysql.t:497): $i = 43; DB<2> x $sth_query->table 0 'TABLE02' 1 'TABLE02' 2 'TABLE02' DB<3> x $sth_listf->table 0 'table02' 1 'table02' 2 'table02' DB<4> That would account for the 3 tests gone wrong. Doesn't look like a huge bug. hth, -Steve
From: P Warwick
Download (untitled) / with headers
text/plain 1.5k
[guest - Mon May 17 05:55:48 2004]: I've encountered the same problem. However for me it is a big deal because I am trying to install Bugzilla and it will not proceed until the install of DBD::mysql is successful. I have found what I think is the offending code in mysql.t (it defines a tablename as uppercase "TABLE00", but I cannot fix it, because the install overwrites the fixed mysql.t. I'm not knowledgeable enough with the way that the install works to fix this .... Help. Show quoted text
> Hi, > > Building DBD::mysql fails at 94.44% okay on OS X 10.3, using versions: > > mysql-standard-4.0.18-apple-darwin6.8-powerpc > DBD-mysql-2.9003 > > The culprit: > > t/mysql............FAILED tests 46-48 > Failed 3/68 tests, 95.59% okay > > running the script produces no useful output: > ... > not ok 46 > not ok 47 > not ok 48 > > But for what it's worth, after running it through the debugger, it > looks like an issue to do with the case returned by: > $dbh->query(...)->table() > $dbh->listfields(...)->table() > > It's falling over around line 495 in t/mysql.t. Some output from the > debugger: > > $ perl -d -Mblib t/mysql.t > [snip!] > 1..68 > DB<1> b 497 > DB<2> c > ok 1 > ... > ok 42 > main::(t/mysql.t:497): $i = 43; > DB<2> x $sth_query->table > 0 'TABLE02' > 1 'TABLE02' > 2 'TABLE02' > DB<3> x $sth_listf->table > 0 'table02' > 1 'table02' > 2 'table02' > DB<4> > > That would account for the 3 tests gone wrong. Doesn't look like a > huge bug. > > hth, > -Steve
This code (old emulation code for old driver) has been depricated.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.