-
Type:
Task
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Fix Version/s: 10.2.0
-
Component/s: OTHER
-
Labels:None
-
Epic Link:
-
Sprint:10.2.0-1
Obsolete sql_strmake() in favor of THD::strmake() and thd_strmake()
Since sql_strmake() 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::strmake() and modifying plugins to use thd_strmake().
- links to