https://issues.apache.org/bugzilla/show_bug.cgi?id=45450
Summary: mod_dbd: new option "reconnect" for MySQL DBD driver and
prepared statements
Product: Apache httpd-2
Version: 2.3-HEAD
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Documentation
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
As a result of bug 45407 (
https://issues.apache.org/bugzilla/show_bug.cgi?id=45407 ), new option
'reconnect' was introduced to MySQL dbd driver.
This option, when set to 0, allows us to avoid problem with prepared
statements.
If reconnect is 1 (which was by default) and connection with MySQL server is
broken, mysql_ping will reconnect, but all prepared statements will not work as
a result.
If reconnect is 0, than mysql_ping will return error and reslist element will
be invalidated. So next time new connection will be created and statements will
be prepared one more time.
I think that information about this issue should be in mod_dbd documentation.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]