When I compile and run make test on DBI-1.22, I get numerous 'Use
of uninitialized value' warnings in the new code tests. Now,
normally, that sort of thing doesn't bother me, but because DBI is
such a mission critical component, I want the piece of mind of a
quiet make test output. What's causing them? It looks to be this
line in DBD::Sponge
$sth->trace_msg("inserting (@$row)\n");
Which tells me that $row isn't being returned with defined data,
which means it may not be working right. This is happening on both Linux machines and
Solaris machines with perl 5.6.1.
I also get this additional warning when testing on the Solaris
machine:
t/70shell.............ok 1/3Use of uninitialized value in concatenation (.) or
string at (eval 4) line 16, <TERMCAP> line 2813.
Here's the output from the Linux machine:
$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 -e 'use Test::Harness
qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/01basics............ok
t/02dbidrv............ok
t/10examp.............ok
t/15array.............ok
t/20meta..............ok
t/30subclass..........ok
t/60preparse..........ok
t/70shell.............ok
t/zz_01basics_pp......ok
t/zz_02dbidrv_pp......ok
t/zz_10examp_pp.......ok
t/zz_15array_pp.......ok 3/24Use of uninitialized value in string eq at t/15array.t
line 25.
Use of uninitialized value in join or string at blib/lib/DBD/Sponge.pm line 166.
Use of uninitialized value in string eq at t/15array.t line 25.
Use of uninitialized value in string eq at t/15array.t line 25.
Use of uninitialized value in join or string at blib/lib/DBD/Sponge.pm line 166.
t/zz_15array_pp.......ok 7/24Use of uninitialized value in string eq at t/15array.t
line 25.
Use of uninitialized value in join or string at blib/lib/DBD/Sponge.pm line 166.
Use of uninitialized value in string eq at t/15array.t line 25.
Use of uninitialized value in join or string at blib/lib/DBD/Sponge.pm line 166.
Use of uninitialized value in string eq at t/15array.t line 25.
Use of uninitialized value in join or string at blib/lib/DBD/Sponge.pm line 166.
t/zz_15array_pp.......ok
t/zz_20meta_pp........ok
t/zz_30subclass_pp....ok
t/zz_60preparse_pp....ok
t/zz_70shell_pp.......ok
t/zz_80proxy_pp.......All tests successful.
Files=18, Tests=680, 9 wallclock secs ( 6.85 cusr + 0.34 csys = 7.19 CPU)
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 test.pl
test.pl
DBI test application $Revision: 11.4 $
Using /usr/local/src/perl-modules/DBI-1.22/blib
Switch: DBI 1.22 by Tim Bunce, 1.22
Available Drivers: ExampleP, Pg, Proxy, mysql
dbi:ExampleP:: testing 5 sets of 20 connections:
Connecting... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Disconnecting...
Connecting... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Disconnecting...
Connecting... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Disconnecting...
Connecting... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Disconnecting...
Connecting... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Disconnecting...
Made 100 connections in 0 wallclock secs ( 0.07 usr + 0.00 sys = 0.07 CPU)
Testing handle creation speed...
10000 NullP statement handles cycled in 3.6 cpu+sys seconds (2754 per sec)
test.pl done
* Philip Molter
* Texas.net Internet
* http://www.texas.net/
* [EMAIL PROTECTED]