[Dbix-class] transaction depth not reset in 0.08003
Jonathan Tweed
jonathan at tweed.name
Wed Jul 18 20:59:58 GMT 2007
On 18 Jul 2007, at 20:26, Brandon Black wrote:
> Well, I've tracked this down a little bit further now. I had poorly
> assumed $dbh->{AutoCommit} would statically remain at whatever value
> it was set to (or defaulted to) at DBI->connect time. As it turns
> out, $dbh->begin_work turns off the $dbh->{AutoCommit} value, which is
> what's causing the confusion. I've patched trunk locally to grab a
> copy of AutoCommit right after ->connect as a storage object
> attribute, and have the rest of the code pay attention to that, and it
> definitely makes t/81transactions.t happier. I'm still smoothing out
> some related issues that it made apparent though.
That sounds promising. Let us know when you have something to test
and we'll run our tests over it.
Thanks
Jonathan
More information about the Dbix-class
mailing list