On Thu, 2006-05-18 at 15:57 -0700, Bill Moseley wrote:
> It's been a while since I looked at this.  Isn't this just a problem
> when creating the connection before forking?

That's one problem.  Another one is that Apache::DBI's safety rollback
is prevented from happening because Class::DBI not calling connect() on
every request.  You may or may not need that, depending on how you use
transactions.

> In my Catalyst app I'm
> *not* using an ::Loader code, and IIRC the connections happen only
> in each child.

If you use the set_up_table() method in Class::DBI::mysql and friends,
and load the modules during startup, it can be the same issue.  You'd
probably know it though, since your site would have lots of bizarre DBI
errors in the logs.

- Perrin

Reply via email to