On 8/17/07, John Siracusa <[EMAIL PROTECTED]> wrote: > But really, I'd like to solve this somehow so the default way works as > well. It would be nice if I could ask Apache::DBI not to call > reset_startup_state(), perhaps by passing a special connect attribute:
Do you think that Apache::DBI should be doing this on every connect call to begin with? I suppose it depends on whether it is trying to provide safety for ported CGI scripts, or a general purpose persistent database connection. Now that DBI->connect_cached is widely available, the need for Apache::DBI to be a general purpose tool is reduced. Actually, that might be a simple fix for this: If you call DBI->connect, Apache::DBI would do what it does now. If you call connect_cached, it would skip the reset call. What do you think? (And yes, connect_cached gets handled by Apache::DBI if it is loaded.) - Perrin ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Rose-db-object mailing list Rose-db-object@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rose-db-object