Hi Monty,
Michael Widenius wrote:
>
> Hi!
>
> I have a small comment to this.
>
>
> Note that you will get crashes in the DBUG package if you call any
> MySQL function inside a thread that hasn't called mysql_init() or
> mysql_connect().
>
> If you want to use MySQL functions in threads that doesn't call the
> above functions, you need to call my_thread_init() at the start of the
> thread and my_thread_end() before the thread ends.
>
> If you think that the DBUG functions are the ones that is causing
> problems, you can always recompile MySQL without --with-debug, in
> which the DBUG macros will not generate any code.
>
> Regards,
> Monty
Thanks very much for this: I will check the application for these calls.
Regards,
Peter
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php