mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Add a comment for thd->proc_info.
This commit is contained in:
@ -1335,6 +1335,10 @@ public:
|
|||||||
|
|
||||||
Set it using the thd_proc_info(THD *thread, const char *message)
|
Set it using the thd_proc_info(THD *thread, const char *message)
|
||||||
macro/function.
|
macro/function.
|
||||||
|
|
||||||
|
This member is accessed and assigned without any synchronization.
|
||||||
|
Therefore, it may point only to constant (statically
|
||||||
|
allocated) strings, which memory won't go away over time.
|
||||||
*/
|
*/
|
||||||
const char *proc_info;
|
const char *proc_info;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user