[Catalyst] Bug in Catalyst::Model::DBI .15

2007-05-07 Thread Evan Carroll
On 5/7/07, Alex Pavlovic [EMAIL PROTECTED] wrote: Well, one way of getting to the $dbh before was through the ACCEPT_CONTEXT because if you had single Root DBI model, you could just do: my $dbh = $c-model('Root')-dbh; This is essentially the way I'm doing it. from a model that did not

[Catalyst] Bug in Catalyst::Model::DBI .15

2007-05-04 Thread Evan Carroll
M::DBI has a pretty sizable bug in as is such that it will establish a new DBI handle on every incoming connection. This is a problem for speed, and transactions as it makes it much more difficult to share $dbh across other models, or to wrap them. I'm very surprised this went for such a long