You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2008/07/22 09:11:57 UTC

DO NOT REPLY [Bug 45450] New: mod_dbd: new option "reconnect" for MySQL DBD driver and prepared statements

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


DO NOT REPLY [Bug 45450] mod_dbd: new option "reconnect" for MySQL DBD driver and prepared statements

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45450

Rich Bowen <rb...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|bugs@httpd.apache.org       |docs@httpd.apache.org

--- Comment #2 from Rich Bowen <rb...@apache.org> 2010-10-29 11:05:43 EDT ---
Moving docs bugs to docs@httpd.a.o ownership.

-- 
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


DO NOT REPLY [Bug 45450] mod_dbd: new option "reconnect" for MySQL DBD driver and prepared statements

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45450





--- Comment #1 from Nick Kew <ni...@webthing.com>  2008-07-22 01:33:59 PST ---
Good point.  I've just committed to /trunk/.

It may be premature in 2.2, but you've highlighted what may be a more-serious
documentation bug in 2.2.9 and 2.2-trunk.  Flagging this report as
must-investigate.


-- 
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