mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
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:
@@ -587,7 +587,6 @@ void THD::enter_stage(const PSI_stage_info *new_stage,
|
|||||||
proc_info= msg;
|
proc_info= msg;
|
||||||
|
|
||||||
#ifdef HAVE_PSI_THREAD_INTERFACE
|
#ifdef HAVE_PSI_THREAD_INTERFACE
|
||||||
PSI_THREAD_CALL(set_thread_state)(msg);
|
|
||||||
MYSQL_SET_STAGE(m_current_stage_key, calling_file, calling_line);
|
MYSQL_SET_STAGE(m_current_stage_key, calling_file, calling_line);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user