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:28:24 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45407


Marko Kevac <mkevac@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |ASSIGNED




--- Comment #3 from Marko Kevac <mkevac@gmail.com>  2008-07-21 04:28:24 PST ---
Well, this will probably work, but I think that it is not so good solution.

First, when pselect() fails, it gives error 2013 (CR_SERVER_LOST), but
connection exists and select() works well. This is a little bit confusing and
it is not clear for user whether he should reconnect or he just needs to
prepare statements one more time.

Second, thing you are talking about should be implemented not only in mod_dbd,
but also in modules, that prepare statements by themself, but use mod_dbd for
pools and easy API. It's not good design I think.

What do you think?


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