Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
10.2.0-1
Description
Since sql_calloc() doesn't have THD parameter, it has to retrieve THD::mem_root by calling relatively expensive pthread_getspecific(THR_MALLOC).
This can be optimized easily by modifying server to use THD::calloc() and modifying plugins to use thd_calloc().
Attachments
Issue Links
- links to