1
0
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:
Sergey Vojtovich
2014-12-02 14:59:01 +04:00
parent b4ec230917
commit 9e9f1da0d2

View File

@@ -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
} }