mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-7943 - pthread_getspecific() takes 0.76% in OLTP RO
Pass THD to Sort_and_group_tracker::report_sorting(). This reduces number of pthread_getspecific() calls from 292 to 290.
This commit is contained in:
@ -396,7 +396,7 @@ public:
|
||||
@return
|
||||
Tracker object to be used with filesort
|
||||
*/
|
||||
Filesort_tracker *report_sorting();
|
||||
Filesort_tracker *report_sorting(THD *thd);
|
||||
|
||||
friend class Iterator;
|
||||
/*************** Statistics retrieval interface ***************/
|
||||
|
Reference in New Issue
Block a user