diff options
author | Sergey Vojtovich <svoj@mariadb.org> | 2014-12-02 14:59:01 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2014-12-05 11:01:49 +0400 |
commit | 9e9f1da0d2dd5d9de9094d20d0b39e71ec4ce479 (patch) | |
tree | 6f6fee4737d3993c14381adaffca3b1bc5216f3c /sql/sql_class.cc | |
parent | b4ec230917a50cbc1e406f5175189c8359bcb9a0 (diff) | |
download | mariadb-git-9e9f1da0d2dd5d9de9094d20d0b39e71ec4ce479.tar.gz |
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.
Diffstat (limited to 'sql/sql_class.cc')
-rw-r--r-- | sql/sql_class.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/sql_class.cc b/sql/sql_class.cc index 422a83aab55..6d2299cf06b 100644 --- a/sql/sql_class.cc +++ b/sql/sql_class.cc @@ -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 } |