From: Warren Young Date: April 15 2011 3:58am Subject: Re: Crash in DBDriver::fetch_row on a heavily loaded system... List-Archive: http://lists.mysql.com/plusplus/9334 Message-Id: <4DA7C26D.8020500@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 4/14/2011 5:33 PM, Dan Cook (dancook) wrote: > > Thanks again for the patch. I have applied the patch and rebuilt the > library. I didn't make it clear, but you also have to change your code. With the patch installed, MySQL++ will throw an exception (or if exceptions are disabled, make the Query object false) when the MySQL C API library does this. It doesn't prevent the C API library from barfing, and it doesn't magically create error-handling code in your program. Not ideal, but greatly preferable to crashing, I hope.