![]() |
MySQL 8.0.43
Source Code Documentation
|
A scope-guard class for allocating an Ordering::Elements instance which is automatically returned to the pool when we exit the scope of the OrderingElementsGuard instance. More...
Public Member Functions | |
| OrderingElementsGuard (LogicalOrderings *context, MEM_ROOT *mem_root) | |
| OrderingElementsGuard (const OrderingElementsGuard &)=delete | |
| OrderingElementsGuard & | operator= (const OrderingElementsGuard &)=delete |
| ~OrderingElementsGuard () | |
| Ordering::Elements & | Get () |
Private Attributes | |
| LogicalOrderings * | m_context |
| The object containing the pool. More... | |
| Ordering::Elements | m_elements |
| The instance fetched from the pool. More... | |
A scope-guard class for allocating an Ordering::Elements instance which is automatically returned to the pool when we exit the scope of the OrderingElementsGuard instance.
|
inline |
| context | The object containing the pool. |
| mem_root | For allocating additional Ordering::Elements instances if needed. |
|
delete |
|
inline |
|
inline |
|
delete |
|
private |
The object containing the pool.
|
private |
The instance fetched from the pool.