[Dbix-class] transactions, etc.

Josef Karthauser joe at tao.org.uk
Thu Jan 25 16:59:38 GMT 2007


On Thu, Jan 25, 2007 at 10:50:28AM -0600, Brandon Black wrote:
> 
> Yes, this issue has popped up in other areas as well.  I seem to
> remember having an outstanding issue with that
> NoBindVars/Storage::DBI::Sybase::MSSQL stuff over the late class
> change as well, and we had talked about using delegation to lessen the
> issue.  I think there was a C3 issue in here too, something to do with
> the storage class switch happening long after reinitialize().  This
> stuff is long gone from my mental cache right now though, I don't
> remember a lot of details.
> 

I chatted to Matt on IRC and he suggested that I insert a 

    $self->ensure_connected();

at the beginning of txn_begin(), which fixes the problem perfectly.

Joe
-- 
=== Josef Karthauser (joe at tao.org.uk) === http://x2obuilder.com/tao ===
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20070125/e1e90a9d/attachment.pgp


More information about the Dbix-class mailing list