mysql_thread_id
- Provided by: libmariadb-dev (Version: 1:10.11.14-0ubuntu0.24.04.1)
- Source: mariadb
- Report a bug
mysql_thread_id - Returns id of the current connection
#include <mysql.h>
unsigned long mysql_thread_id(MYSQL * mysql);
The mysql_thread_id() function returns the thread id for the current connection.
Returns the thread id of the current connection.