mysql_thread_init — Thread initialization for multi threaded clients
my_bool mysql_thread_init(void );Multi threaded clients should call mysql_thread_init() at the beginning of the thread initialization to initialize thread specific client library variables. If mysql_thread_init() was not called explicitly, it will be called automatically by mysql_init() or mysql_real_connect().