1mysql_thread_end(3) MariaDB Connector/C mysql_thread_end(3)
2
3
4
5 Name
6 mysql_thread_end - Releases thread specific memory
7
8 Synopsis
9 #include <mysql.h>
10
11 void mysql_thread_end(void );
12
13 Description
14 The mysql_thread_end() function needs to be called before a client
15 thread ends. It will release thread specific memory, which was allo‐
16 cated by a previous mysql_thread_init(3) call. Returns void.
17
18 Notes
19 Unlike mysql_thread_init(3) mysql_thread_end() will not be invoked au‐
20 tomatically if the thread ends. To avoid memory leaks
21 mysql_thread_end() must be called explicitly.
22
23 History
24 This function is deprecated since MariaDB Connector/C 3.0.0.
25
26 See also
27 • mysql_thread_init(3)
28
29 • mysql_thread_safe(3)
30
31
32
33Version 3.2.2 mysql_thread_end(3)