On Sat, Jun 01, 2002 at 08:25:42PM -0700, Dean Arnold wrote:
> Groovy!

I'll patch it for the next release.

> BTW: I think I've uncovered another little delta between DBI and PurePerl:
> 
> The $dbh->{Name} attribute in DBI holds the DSN of the connection,
> whereas in PurePerl its being assigned the name of the driver (as
> $drh->{Name}
> does for regular DBI)...maybe its time to consider an alternate naming to
> differentiate the 2 uses ?.
> 
> Here's the change at line 288:
> 
> #        $h_inner->{$_} = $parent->{$_} foreach (qw(Name Version
> Attribution));
>         $h_inner->{$_} = $parent->{$_} foreach (qw(Version Attribution));
> 
> Will this be a problem for drivers which aren't explicitly setting
> $dbh->{Name} to the
> DSN, as DBI does in the generic case ?

I'll probably change = to ||= (but I'll double check what the DBI proper does).

> BTW: what's needed to get the array binding i/f patched in ? Just the
> interface
> declarations from regular DBI ? Or do the default implementations need to
> be copied over as well ?

It should just work. The DBI test suite now automatically gets run
twice, the second run using PurePerl - and the execute_array() tests
run fine.

> Many thanks...I hope to try and get this running on my Zaurus soon...and
> with DBD::Chart too.

Great.

Tim.

Reply via email to