Search the MySQL manual:

9.1.10.2 mysql_thread_init()

my_bool mysql_thread_init(void)

Description

This function needs to be called for each created thread to initialise thread-specific variables.

This is automatically called by my_init() and mysql_connect().

Return Values

Zero if successful. Non-zero if an error occurred.

User Comments

Add your own comment.