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
Field | Original Value | New Value |
---|---|---|
Epic Link | MDEV-7941 [ 50796 ] |
Workflow | MariaDB v2 [ 60572 ] | MariaDB v3 [ 65277 ] |
Assignee | Alexander Barkov [ bar ] | Sergey Vojtovich [ svoj ] |
Attachment | mdev8010.patch [ 39101 ] |
Assignee | Sergey Vojtovich [ svoj ] | Michael Widenius [ monty ] |
Status | Open [ 1 ] | In Review [ 10002 ] |
Assignee | Michael Widenius [ monty ] | Sergey Vojtovich [ svoj ] |
Assignee | Sergey Vojtovich [ svoj ] | Elena Stepanova [ elenst ] |
Assignee | Elena Stepanova [ elenst ] | Michael Widenius [ monty ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Sprint | 10.1.7-2 [ 12 ] |
Rank | Ranked higher |
Assignee | Michael Widenius [ monty ] | Sergey Vojtovich [ svoj ] |
Remote Link | This issue links to "Github revision (Web Link)" [ 24504 ] |
Component/s | OTHER [ 10125 ] | |
Fix Version/s | 10.1.7 [ 19604 ] | |
Fix Version/s | 10.1 [ 16100 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Workflow | MariaDB v3 [ 65277 ] | MariaDB v4 [ 132595 ] |