Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
10.2.0-1
Description
Since sql_memdup() 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::memdup() and modifying plugins to use thd_memdup().
Attachments
Issue Links
- links to
Activity
Transition | Time In Source Status | Execution Times |
---|
|
78d 1h 30m | 1 |
|
1d 20h 9m | 1 |
|
5d 20h 6m | 1 |