in reply to Re: DBI, bind_cols and concurrency
in thread DBI, bind_cols and concurrency

You posted a patch to Ima::DBI to fix problems with cached db handles under mod_perl. I'm now sorta convinced that the problem I'm having is with cached statement handles. You never experienced this? Why change the db handle caching and not that of the statement handles? Jim

Replies are listed 'Best First'.
Re^3: DBI, bind_cols and concurrency
by perrin (Chancellor) on Oct 21, 2005 at 02:32 UTC
    The code in Ima::DBI actually calls the database handle cache whenever fetching a statement handle, so it only needs to be patched in one place.

    I now think the most likely explanation here is what Errto suggested: you are opening a database handle in the parent process, maybe with a setup_table() call. My patch will fix this for you.