On Fri, Aug 29, 2003 at 02:29:40PM +0200, H.Merijn Brand wrote: > On Thu 28 Aug 2003 20:59, Tim Bunce <[EMAIL PROTECTED]> wrote: > > On Thu, Aug 28, 2003 at 02:40:46PM +0200, H.Merijn Brand wrote: > > > > > > One of the reasons I'm still holding on to DBI-1.35 is > > > > > > Argument "" isn't numeric in null operation at > > > /pro/lib/perl5/site_perl/5.8.0/PA-RISC2.0/DBI.pm line 632. > > > which is caused by attr 'Username' which is either undef or blank > > > > I suspect the problem is in DBD::Unify. Does it happen for any other DBD's? > > a5:/pro/3gl/CPAN/DBD-Unify-0.27 102 > grep Username * > a5:/pro/3gl/CPAN/DBD-Unify-0.27 103 > grep Username */*
I'm not sure why you're showing me greps. I think the problem is that DBD::Unify STORE is stringifying the value. Hang on... [wanders over to http://search.cpan.org/src/HMBRAND/DBD-Unify-0.26/dbdimp.ic] yes, your dbd_db_STORE_attrib function is doing int on = SvIV (valuesv); instead of int on = SvTRUE(valuesv); > > > I have rewritten DBD-Unify (with pain in my heart) to replace > > > $dbh->{DBDverbose} (which IMHO is a perfectly good name, and should be adopted > > > by all drivers) > > Oh, and I forgot to say: See, I do what I promised in Paris :) :) Tim.