[CDBI] Re: Transaction over parent and children has_a objects
Edward J. Sabol
sabol at alderaan.gsfc.nasa.gov
Wed Apr 5 21:29:27 BST 2006
Peter Speltz wrote:
>> Same thing. Figured it out though. When i removed an Ima::DBI patch i got
>> from you in email it worked.
Perrin Harkins replied:
> That's strange, because the patch is really pretty simple. It works
> the same as before, unless you change process IDs between calls to
> db_Main(). It has been working well on a moderately large site where
> we use transactions in the same way you're showing.
I agree. I don't see anything in Perrin's patch that should cause this
Could it be a MySQL thing? I know there have been some DBDs (notably older
versions of DBD::Pg, I believe) where ping() doesn't give the correct
response under some circumstances and a new dbh is created, which breaks the
Nesting transactions could also give the same error, but Peter said it worked
when he reverted his Ima::DBI, so that's not the problem obviously.
More information about the ClassDBI