| 
      
      
      From: Florian H. <fh...@fa...> - 2002-04-14 12:42:59
      
     | 
| At 23:08 13.04.2002 -0400, you wrote:
>On Sat, 2002-04-13 at 21:37, Florian Hellberg wrote:
> > Hi!
> >
> > I've been just installing SPOPS-0.58 and got some weird Errors while=
 'make
> > test' =3D> test 't/30_dbi':
> >
> > -------- BEGIN OF EXCERPT --------
> > t/30_dbi...............NOK 5#     Failed test (t/30_dbi.t at line 83)
> > Error saving object: Can't get DBI::db=3DHASH(0x83a8d40)->{Name}:
> > unrecognised attribute at blib/lib/SPOPS/SQLInterface.pm line 427.
> > ...
> > So I looked at 'SPOPS/SQLInterface.pm' and changed at line 427
> > '$db->{Name}' into '$db->{name}':
> >
> > 427    my $type_idx =3D join( '-', lc $db->{Name}, lc $table );
> > into
> > 427    my $type_idx =3D join( '-', lc $db->{name}, lc $table );
> >
> > With these minor change the 'make test' got OK:
> > 't/30_dbi...............ok'
> >
> > I'm using MySQL 3.22.32 on a debian machine. Is this a general fault or=
 is
> > it just my specific system configuration?
>
>It's strange the change worked. What versions of DBI and DBD::mysql are
>you running?
That's what I thought, too :)
- DBD::mysql is v2.0402 (the latest shipping for debian/potato)
- DBI is v1.13 (the latest shipping for debian/potato)
I also tested it with DBI v1.21 from CPAN but the same oddity occured.
Regards, Florian
-[ fast networx / Morseweg 3 / 23556 L=FCbeck ]-
-[ Tel. 0451.499 400-6 / Fax 0451.499 400-7 ]-
-[ fh...@fa...  /  www.fastnetworx.de ]-
 |