in reply to Re^2: mod_perl, dbh, forked
in thread mod_perl, dbh, forked

When you use Apache::DBI or DBI->connect_cached, they both keep a global cache of connections. They will not open a new one unless you use different parameters to open the connection, or the old connection has been disconnected.

I haven't seen that fetchrow_hashref behavior before, but I don't actually use that method. If you don't have RaiseError turned on, definitely do that, since you may be missing errors earlier in the process.

Replies are listed 'Best First'.
Re^4: mod_perl, dbh, forked
by Cagao (Monk) on Mar 07, 2008 at 21:37 UTC
    I've got RaiseError switched on but it's not showing anything anywhere, like I say, the bug I'm seeing is certainly odd and had a few of us in the office totally puzzled.