MDEV-7004 - Merge scalability fixes from 10.0-power
Remove call to deprecated set_thread_state. It is noop anyway, but generates function call independently of performance schema state. According to perf this saves ~0.2% of execution time.
This commit is contained in:
parent
b4ec230917
commit
9e9f1da0d2
@ -587,7 +587,6 @@ void THD::enter_stage(const PSI_stage_info *new_stage,
|
||||
proc_info= msg;
|
||||
|
||||
#ifdef HAVE_PSI_THREAD_INTERFACE
|
||||
PSI_THREAD_CALL(set_thread_state)(msg);
|
||||
MYSQL_SET_STAGE(m_current_stage_key, calling_file, calling_line);
|
||||
#endif
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user