diff options
| author | Vlad Lesin <vlad_lesin@mail.ru> | 2019-04-25 07:43:14 +0300 |
|---|---|---|
| committer | Vlad Lesin <vlad_lesin@mail.ru> | 2019-04-26 14:10:58 +0300 |
| commit | 5fd42a7469be8f6e8498342abd11976d497d51d0 (patch) | |
| tree | 44ea8713b09b9912c36040b098e00d9852eb7c2d | |
| parent | aad10bd67fd8bf68588b81aa500c5aeb40d9c46d (diff) | |
| download | mariadb-git-5fd42a7469be8f6e8498342abd11976d497d51d0.tar.gz | |
Compilation error fix
| -rw-r--r-- | sql/mysqld.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sql/mysqld.cc b/sql/mysqld.cc index 212ab8e2a13..0e0089b2309 100644 --- a/sql/mysqld.cc +++ b/sql/mysqld.cc @@ -3043,9 +3043,8 @@ static bool cache_thread(THD *thd) Create new instrumentation for the new THD job, and attach it to this running pthread. */ - PSI_thread *psi= PSI_CALL_new_thread(key_thread_one_connection, - thd, thd->thread_id); - PSI_CALL_set_thread(psi); + PSI_CALL_set_thread(PSI_CALL_new_thread(key_thread_one_connection, + thd, thd->thread_id)); /* reset abort flag for the thread */ thd->mysys_var->abort= 0; |
