[Catalyst-dev] Re: Bug in Catalyst::Model::DBI .16

Evan Carroll lists at evancarroll.com
Mon May 7 09:45:55 GMT 2007


On 5/7/07, Evan Carroll <lists at evancarroll.com> wrote:
> Sorry to break it to you. This still doesn't work.
>
> Caught exception in Dealermade::C::Root->join "21433 different from
> 21434 at /var/www/Dealermade/script/../lib/Dealermade/C/Root.pm line
> 71, <DATA> line 228."
>
> die $c->model('DBI')->dbh->{pg_pid} . ' different from ' .
> $c->model('DBI')->dbh->{pg_pid};
>
> These numbers should always be the same.
>
> --
> Evan Carroll
> System Lord of the Internets
> me at evancarroll.com
> 832-445-8877
>


the issue is $self->_pid and $self->_tid among others, the goal in
this is to get the handle stored in the one model. Without these two
also stored in the one model, the newly blessed models will just re
->connect, which still means one handle per model.

Can we just make $self->_pid not lazy?!

-- 
Evan Carroll
System Lord of the Internets
me at evancarroll.com
832-445-8877



More information about the Catalyst-dev mailing list