mysql_thread_safe() indicates whether the client library is compiled as thread-safe.
Syntax
unsigned
int mysql_thread_safe(void)
Return values
The function returns 1 if the client library is thread-safe. Otherwise, it returns 0.
Meet OceanBase AI Database, the unified database for operational data, real-time analytics, and AI. Explore ->
Meet OceanBase AI Database, the unified database for operational data, real-time analytics, and AI. Explore ->
OceanBase Connector/C
Download PDF
mysql_thread_safe() indicates whether the client library is compiled as thread-safe.
unsigned
int mysql_thread_safe(void)
The function returns 1 if the client library is thread-safe. Otherwise, it returns 0.