Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
10.1.7-2
Description
sql_alloc() has additional costs compared to direct mem_root allocation:
- function call: it is defined in a separate translation unit and can't be inlined
- it needs to call pthread_getspecific() to get THD::mem_root
It is called dozens of times implicitly by Items. Try to get rid of those calls.
Attachments
Issue Links
- is part of
-
MDEV-6152 Remove calls to current_thd while creating Item
-
- Closed
-
- links to
Activity
Transition | Time In Source Status | Execution Times |
---|
|
116d 44m | 1 |
|
2d 8m | 1 |
|
7d 18h 56m | 1 |