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.