apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45407] auto reconnect in apr_dbd_mysql disturb normal work with prepared statements
Date Mon, 21 Jul 2008 11:35:55 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45407





--- Comment #4 from Bojan Smojver <bojan@rexursive.com>  2008-07-21 04:35:54 PST ---
>First, when pselect() fails, it gives error 2013 (CR_SERVER_LOST), but connection exists
and select() works well.

I think this is the key here. It is obvious that if select() works (or if
apr_dbd_check_conn() is OK) that connectivity of that particular prepared
statement is the problem (i.e. because the connection for which it was prepared
was lost). So, the logical thing to do it to prepare the statement again. No?


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


Mime
View raw message