1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

perfschema thread instrumentation related changes

This commit is contained in:
Sergei Golubchik
2020-02-14 16:47:59 +01:00
parent 0d837e8153
commit 6ded554fc2
7 changed files with 76 additions and 36 deletions

View File

@@ -5445,6 +5445,7 @@ int mysqld_main(int argc, char **argv)
init_server_psi_keys();
/* Instrument the main thread */
PSI_thread *psi= PSI_CALL_new_thread(key_thread_main, NULL, 0);
PSI_CALL_set_thread_os_id(psi);
PSI_CALL_set_thread(psi);
/*