Commit e9bf99d0 authored by Konstantin Osipov's avatar Konstantin Osipov

Add a comment for thd->proc_info.

parent b7f86ab4
...@@ -1335,6 +1335,10 @@ public: ...@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment