From: Warren Young Date: April 4 2011 7:27pm Subject: Re: thread_start() should ALWAYS be called after mysql_init() List-Archive: http://lists.mysql.com/plusplus/9310 Message-Id: <46EB4ECB-6AF3-4E59-B9F1-F1BE4EF63D77@etr-usa.com> MIME-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable On Apr 4, 2011, at 1:24 PM, Warren Young wrote: >> As another way of solving the problem is to make >> DBDriver::thread_start() call my_init() every time. >=20 > Try it. Does it actually banish the symptom in your program? No need to respond again. I didn't read your later response before = asking. >> So the ideal working solution of this issue is to call my_init at the >> very beginning, before any threads are created. I think, that this is >> not what mysql++ can care about. But this fact should be reflected in >> documentation. >=20 > So what you're saying is that my option #2 is the only one that can be = guaranteed correct? I meant #1, by the way: reflect the C API requirements into the MySQL++ = docs. That is to say, it is the only option because there is no way at = the base ConnectionPool level that MySQL++ could get this right?