Nick Kew wrote:
I've got back to reviewing Chris's substantial fixes to mod_dbd in trunk,
and I'm prepared to give it my +1. The alternative is to apply simpler
fixes by Bojan and others.
On the plus side, Chris's work fixes some known (and hard) issues with
mod_dbd,
and feedback has been positive. Against it is the complexity.
AFAICS we still have the potential issue in the /trunk/ code where a
connection
goes stale and prepared statements need to be recreated. I have a proposal
for that, but it would be good to sync trunk with 2.2 first.
--Nick Kew
Please consider fixing the stale connection problem in apr-util per bug
42841, rather than fixing it just in the mysql driver.
This would cause DBDExptime to behave as many people presume it does -
despite the fact that the docs describe its current behavior correctly.
With the proposed patch - setting DBDExptime less than the database
idle-timeout would always prevent using a stale connection, and would
apply to all databases which have idle-connection timeouts.
-tom-