diff --git a/sql/sql_class.h b/sql/sql_class.h index 36e696f2da6..a758d24131b 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -1335,6 +1335,10 @@ public: Set it using the thd_proc_info(THD *thread, const char *message) 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;