Re: DBD::Sybase 1.05_03 on CPAN
Michael Peppler <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.dbi.sybase |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 2005-07-26 at 19:36 -0400, Matthew Persico wrote:
> Any signif diffs with _02?
The main difference is how/when the "active" attribute is set on
statement handles. This is so that the following will work:
my $sth = $dbh->prepare(...);
$sth->finish;
$sth = $dbh->prepare(...);
because the DBI code will not call my finish() code if the statement
handle isn't marked as "active".
For me this works fine, but now I've been told the following doesn't
work:
my $sth = $dbh->prepare(...);
$dbh->{AutoCommit} = 0;
...
because it won't let you set autocommit on a dbh with active children.
So unfortunately some additional tinkering will be necessary, I think.
There are a couple of other minor issues that I fixed, IIRC.
Michael
>
> On 7/23/05, Michael Peppler <[email protected]> wrote:
> > FYI - I've just uploaded a new test version of DBD::Sybase to CPAN (and
> > to www.peppler.org/downloads).
> >
> > If you have the time please test this new version so that I can release
> > 1.06 soon.
> >
> > Thanks,
> >
> > Michael
> > --
> > Michael Peppler - [email protected] - http://www.peppler.org/
> > Sybase DBA/Developer
> > Sybase on Linux FAQ: http://www.peppler.org/FAQ/linux.html
> >
> >
> >
>
>
--
Michael Peppler - [email protected] - http://www.peppler.org/
Sybase DBA/Developer
Sybase on Linux FAQ: http://www.peppler.org/FAQ/linux.html