httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45450] New: mod_dbd: new option "reconnect" for MySQL DBD driver and prepared statements
Date Tue, 22 Jul 2008 07:11:57 GMT
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: bugs@httpd.apache.org
        ReportedBy: mkevac@gmail.com


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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message