mysql_thread_init
mysql_thread_init initializes thread-local variables for multi-threaded Connector/C clients; called automatically by mysql_init if not invoked explicitly. Deprecated in Connector/C 3.0.
Syntax
my_bool mysql_thread_init(void );Description
Thread initialization for multi-threaded clients. mysql_thread_init() is now an empty no-op; it is not called automatically by mysql_init() or mysql_real_connect().
Return Value
Always returns 0 (no-op).
This function has been deprecated since MariaDB Connector/C 3.0.0.
See Also
This page is: Copyright © 2026 MariaDB. All rights reserved.
Last updated
Was this helpful?

