ANNOUNCE: DBI 1.54 RC6 - including cool new DBD::Gofer stateless proxy
ANNOUNCE: DBI 1.54 RC6 - including cool new DBD::Gofer stateless proxy
am 19.02.2007 17:28:40 von Tim.Bunce
You can download it from:
http://homepage.mac.com/tim.bunce/.Public/perl/DBI-1.54-RC6. tar.gz
=head2 Changes in DBI 1.54 (svn rev 9140), 19th February 2007
NOTE: This release includes the 'next big thing' for DBI: DBD::Gofer.
Take a look!
WARNING: This version has some subtle changes in DBI internals.
It's possible, though doubtful, that some may affect your code.
I recommend some extra testing before using this release.
Or perhaps I'm just being over cautious...
Fixed type_info when called for multiple dbh thanks to Cosimo Streppone.
Fixed compile warnings in bleadperl on freebsd-6.1-release
and solaris 10g thanks to Philip M. Gollucci.
Fixed to compile for perl built with -DNO_MATHOMS thanks to Jerry D. Hedden.
Fixed to work for bleadperl (r29544) thanks to Nicholas Clark.
Users of Perl >= 5.9.5 will require DBI >= 1.54.
Fixed rare error when profiling access to $DBI::err etc tied variables.
Fixed DBI::ProfileDumper to not be affected by changes to $/ and $,
thanks to Michael Schwern.
Changed t/40profile.t to skip tests for perl < 5.8.0.
Changed setting trace file to no longer write "Trace file set" to new file.
Changed 'handle cleared whilst still active' warning for dbh
to only be given for dbh that have active sth or are not AutoCommit.
Changed take_imp_data to call finish on all Active child sth.
Changed DBI::PurePerl trace() method to be more consistent.
Changed set_err method to effectively not append to errstr if the new errstr
is the same as the current one.
Changed handle factory methods, like connect, prepare, and table_info,
to copy any error/warn/info state of the handle being returned
up into the handle the method was called on.
Updated DBI::DBD docs for driver authors thanks to Ammon Riley
and Dean Arnold.
Added new DBD::Gofer 'stateless proxy' driver and framework,
and the DBI test suite is now also executed via DBD::Gofer,
and DBD::Gofer+DBI::PurePerl, in addition to DBI::PurePerl.
Added ability for trace() to support filehandle argument,
including tracing into a string, thanks to Dean Arnold.
Added ability for drivers to implement func() method
so proxy drivers can proxy the func method itself.
Added SQL_BIGINT type code (resolved to the ODBC/JDBC value (-5))
Added $h->private_attribute_info method.
=cut
I'd be grateful for any testing, and especially for feedback on DBD::Gofer.
Some testing on strange platforms, like Windows, would be helpful as
it's likely they'll be portability issues with some gofer transports.
If you have problems but they're only with gofer on windows,
then please just email them direct to me to limit noise on the list.
Thanks. I'll summarize back to the list.
Enjoy!
Tim.
Re: ANNOUNCE: DBI 1.54 RC6 - including cool new DBD::Gofer stateless proxy
am 20.02.2007 13:27:42 von scoles
Well I had another carak with Windows and here are the results
Makefile.PL worked and it compiled fine with nmake.
Unfortunetly on the mnake test it hung on 85gofer.t and just spun its
wheels. I shut it down after 20 mins
Do you want me to do some degugging on 85gofer.t?
cheers
John Scoles
----- Original Message -----
From: "Tim Bunce"
To:
Cc: "Tim Bunce"
Sent: Monday, February 19, 2007 11:28 AM
Subject: ANNOUNCE: DBI 1.54 RC6 - including cool new DBD::Gofer stateless
proxy
> You can download it from:
>
> http://homepage.mac.com/tim.bunce/.Public/perl/DBI-1.54-RC6. tar.gz
>
> =head2 Changes in DBI 1.54 (svn rev 9140), 19th February 2007
>
> NOTE: This release includes the 'next big thing' for DBI: DBD::Gofer.
> Take a look!
>
> WARNING: This version has some subtle changes in DBI internals.
> It's possible, though doubtful, that some may affect your code.
> I recommend some extra testing before using this release.
> Or perhaps I'm just being over cautious...
>
> Fixed type_info when called for multiple dbh thanks to Cosimo Streppone.
> Fixed compile warnings in bleadperl on freebsd-6.1-release
> and solaris 10g thanks to Philip M. Gollucci.
> Fixed to compile for perl built with -DNO_MATHOMS thanks to Jerry D.
> Hedden.
> Fixed to work for bleadperl (r29544) thanks to Nicholas Clark.
> Users of Perl >= 5.9.5 will require DBI >= 1.54.
> Fixed rare error when profiling access to $DBI::err etc tied variables.
> Fixed DBI::ProfileDumper to not be affected by changes to $/ and $,
> thanks to Michael Schwern.
>
> Changed t/40profile.t to skip tests for perl < 5.8.0.
> Changed setting trace file to no longer write "Trace file set" to new
> file.
> Changed 'handle cleared whilst still active' warning for dbh
> to only be given for dbh that have active sth or are not AutoCommit.
> Changed take_imp_data to call finish on all Active child sth.
> Changed DBI::PurePerl trace() method to be more consistent.
> Changed set_err method to effectively not append to errstr if the new
> errstr
> is the same as the current one.
> Changed handle factory methods, like connect, prepare, and table_info,
> to copy any error/warn/info state of the handle being returned
> up into the handle the method was called on.
> Updated DBI::DBD docs for driver authors thanks to Ammon Riley
> and Dean Arnold.
>
> Added new DBD::Gofer 'stateless proxy' driver and framework,
> and the DBI test suite is now also executed via DBD::Gofer,
> and DBD::Gofer+DBI::PurePerl, in addition to DBI::PurePerl.
> Added ability for trace() to support filehandle argument,
> including tracing into a string, thanks to Dean Arnold.
> Added ability for drivers to implement func() method
> so proxy drivers can proxy the func method itself.
> Added SQL_BIGINT type code (resolved to the ODBC/JDBC value (-5))
> Added $h->private_attribute_info method.
>
> =cut
>
> I'd be grateful for any testing, and especially for feedback on
> DBD::Gofer.
> Some testing on strange platforms, like Windows, would be helpful as
> it's likely they'll be portability issues with some gofer transports.
>
> If you have problems but they're only with gofer on windows,
> then please just email them direct to me to limit noise on the list.
> Thanks. I'll summarize back to the list.
>
> Enjoy!
>
> Tim.
>
Re: ANNOUNCE: DBI 1.54 RC6 - including cool new DBD::Gofer stateless proxy
am 20.02.2007 15:40:16 von Tim.Bunce
On Tue, Feb 20, 2007 at 07:27:42AM -0500, John Scoles wrote:
> Well I had another carak with Windows and here are the results
>
> Makefile.PL worked and it compiled fine with nmake.
>
> Unfortunetly on the mnake test it hung on 85gofer.t and just spun its
> wheels. I shut it down after 20 mins
>
> Do you want me to do some degugging on 85gofer.t?
Please retry with the t/85gofer.t I've attached to another recent message.
If that still hangs then do please look into it.
Thanks.
Tim.
ANNOUNCE: DBI 1.54 RC7
am 20.02.2007 17:47:39 von Tim.Bunce
On Mon, Feb 19, 2007 at 04:28:40PM +0000, Tim Bunce wrote:
> You can download it from:
Let's try is again... Take 7:
http://homepage.mac.com/tim.bunce/.Public/perl/DBI-1.54-RC7. tar.gz
Thanks!
Tim.
Re: ANNOUNCE: DBI 1.54 RC7
am 20.02.2007 18:20:18 von scoles
Well this time on windows no errors but it hangs here
t/85gofer.................ok 1/0
and sometimes
t/85gofer.................ok 11/0
and
t/85gofer.................ok 13/0
again with RC7
----- Original Message -----
From: "Tim Bunce"
To:
Cc: "Tim Bunce"
Sent: Tuesday, February 20, 2007 11:47 AM
Subject: ANNOUNCE: DBI 1.54 RC7
> On Mon, Feb 19, 2007 at 04:28:40PM +0000, Tim Bunce wrote:
>> You can download it from:
>
> Let's try is again... Take 7:
>
> http://homepage.mac.com/tim.bunce/.Public/perl/DBI-1.54-RC7. tar.gz
>
> Thanks!
>
> Tim.
>
Re: ANNOUNCE: DBI 1.54 RC7
am 20.02.2007 23:17:29 von Tim.Bunce
On Tue, Feb 20, 2007 at 12:20:18PM -0500, John Scoles wrote:
> Well this time on windows no errors but it hangs here
>
> t/85gofer.................ok 1/0
> and sometimes
> t/85gofer.................ok 11/0
> and
> t/85gofer.................ok 13/0
>
> again with RC7
Hangs as in permenantly ( you have to abort it),
or hangs as it stalls for a long time but then continues?
Either way it's odd as those aren't places I'd expect it to stall.
To shed more light on it you could do:
make && DBI_TRACE=4 DBD_GOFER_TRACE=4 perl -Mblib t/85gofer.t > 85gofer.log 2>&1
and send me the 85gofer.log file.
Thanks!
Tim.
p.s. same applies to anyone else who's seeing odd behaviour from t/85gofer.t
> ----- Original Message -----
> From: "Tim Bunce"
> To:
> Cc: "Tim Bunce"
> Sent: Tuesday, February 20, 2007 11:47 AM
> Subject: ANNOUNCE: DBI 1.54 RC7
>
>
> >On Mon, Feb 19, 2007 at 04:28:40PM +0000, Tim Bunce wrote:
> >>You can download it from:
> >
> >Let's try is again... Take 7:
> >
> > http://homepage.mac.com/tim.bunce/.Public/perl/DBI-1.54-RC7. tar.gz
> >
> >Thanks!
> >
> >Tim.
> >
Re: ANNOUNCE: DBI 1.54 RC7
am 21.02.2007 01:57:54 von Tim.Bunce
On Tue, Feb 20, 2007 at 04:47:39PM +0000, Tim Bunce wrote:
> On Mon, Feb 19, 2007 at 04:28:40PM +0000, Tim Bunce wrote:
> > You can download it from:
>
> Let's try is again... Take 7:
>
> http://homepage.mac.com/tim.bunce/.Public/perl/DBI-1.54-RC7. tar.gz
I believe I've fixed the 10examp.t failures on windows.
Rather than delay releasing any longer to explore the gofer transport
issues on windows I've opted to cut my losses and disable the testing
of the pipeone and stream transports on windows.
I've release an RC8 once I hear back from Ron or John, who are testing
it on windows for me, I'll release it as (hopefully) the final RC.
Tim.
Re: ANNOUNCE: DBI 1.54 RC7
am 21.02.2007 13:13:58 von scoles
Well on windows I got
All tests successful, 22 tests and 260 subtests skipped.
Hooray!!! on to RC8!!
Just for your info Tim I am on Windows XP Home Edtion SP2 using
Visual C++ Toolkit 2003 and activeperl version 5.008008
Cheers
John
----- Original Message -----
From: "Tim Bunce"
To:
Cc: "Tim Bunce"
Sent: Tuesday, February 20, 2007 7:57 PM
Subject: Re: ANNOUNCE: DBI 1.54 RC7
> On Tue, Feb 20, 2007 at 04:47:39PM +0000, Tim Bunce wrote:
>> On Mon, Feb 19, 2007 at 04:28:40PM +0000, Tim Bunce wrote:
>> > You can download it from:
>>
>> Let's try is again... Take 7:
>>
>> http://homepage.mac.com/tim.bunce/.Public/perl/DBI-1.54-RC7. tar.gz
>
> I believe I've fixed the 10examp.t failures on windows.
>
> Rather than delay releasing any longer to explore the gofer transport
> issues on windows I've opted to cut my losses and disable the testing
> of the pipeone and stream transports on windows.
>
> I've release an RC8 once I hear back from Ron or John, who are testing
> it on windows for me, I'll release it as (hopefully) the final RC.
>
> Tim.
>
Re: ANNOUNCE: DBI 1.54 RC7
am 21.02.2007 16:12:12 von jonathan.leffler
------=_Part_6520_18932402.1172070732994
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
On 2/20/07, Tim Bunce wrote:
>
> On Mon, Feb 19, 2007 at 04:28:40PM +0000, Tim Bunce wrote:
> > You can download it from:
>
> Let's try is again... Take 7:
>
> http://homepage.mac.com/tim.bunce/.Public/perl/DBI-1.54-RC7. tar.gz
>
I've tested my non-standard (but unexciting) build of Perl 5.8.8 on MacOS X
10.4.8, and the only hint of a problem is with each of the *50dbm tests
which says:
t/zvxgp_50dbm.............ok 1/36Argument "2.121_08" isn't numeric in
subroutine entry at
/Users/jleffler/perl/v5.8.8/lib/site_perl/5.8.8/MLDBM/Serial izer/Data/Dumper.pm
line 5
That version number doesn't appear in the source, so I assume it isn't your
problem.
'perl -V' below signature.
--
Jonathan Leffler #include
Guardian of DBD::Informix - v2005.02 - http://dbi.perl.org
"I don't suffer from insanity - I enjoy every minute of it."
$ perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=darwin, osvers=8.4.0, archname=darwin-2level
uname='darwin osiris.local 8.4.0 darwin kernel version 8.4.0: tue jan 3
18:22:10 pst 2006; root:xnu-792.6.56.obj~1release_ppc power macintosh
powerpc '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-common -DPERL_DARWIN -no-cpp-precomp
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include',
optimize='-O3',
cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN -no-cpp-precomp
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include'
ccversion='', gccversion='4.0.1 (Apple Computer, Inc. build 5247)',
gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib
libs=-ldbm -ldl -lm -lc
perllibs=-ldl -lm -lc
libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup
-L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: PERL_MALLOC_WRAP USE_LARGE_FILES USE_PERLIO
Built under darwin
Compiled at Feb 15 2006 19:27:48
%ENV:
PERL5_CPANPLUS_CONFIG="/Users/jleffler/.cpanplus/config"
@INC:
/Users/jleffler/perl/v5.8.8/lib/5.8.8/darwin-2level
/Users/jleffler/perl/v5.8.8/lib/5.8.8
/Users/jleffler/perl/v5.8.8/lib/site_perl/5.8.8/darwin-2leve l
/Users/jleffler/perl/v5.8.8/lib/site_perl/5.8.8
/Users/jleffler/perl/v5.8.8/lib/site_perl
.
$
------=_Part_6520_18932402.1172070732994--
Re: ANNOUNCE: DBI 1.54 RC7
am 21.02.2007 22:14:30 von ron
On Wed, 21 Feb 2007 07:12:12 -0800, Jonathan Leffler wrote:
Hi Jonathan
> t/zvxgp_50dbm.............ok 1/36Argument "2.121_08" isn't numeric
> in subroutine entry at
> /Users/jleffler/perl/v5.8.8/lib/site_perl/5.8.8/MLDBM/Serial izer/Data/
> Dumper.pm line 5
This bastard of a problem comes from us having installed a version of
Data::Dumper which is a developer's version, hence the underscore in the=
version
number. It causes various modules to complain :-(.
--
Cheers
Ron Savage, ron@savage.net.au on 22/02/2007
http://savage.net.au/index.html
Let the record show: Microsoft is not an Australian company