MySQL 8.4.2
Source Code Documentation
|
CLONE_DESC_TASK_METADATA: Descriptor for a task for clone operation. More...
#include <clone0desc.h>
Public Member Functions | |
void | init_header (uint version) |
Initialize header. More... | |
void | serialize (byte *&desc_task, uint &len, mem_heap_t *heap) |
Serialize the descriptor. More... | |
bool | deserialize (const byte *desc_task, uint desc_len) |
Deserialize the descriptor. More... | |
Public Attributes | |
Clone_Desc_Header | m_header |
Descriptor header. More... | |
Clone_Task_Meta | m_task_meta |
Task information. More... | |
CLONE_DESC_TASK_METADATA: Descriptor for a task for clone operation.
A task is used by exactly one thread
bool Clone_Desc_Task_Meta::deserialize | ( | const byte * | desc_task, |
uint | desc_len | ||
) |
Deserialize the descriptor.
[in] | desc_task | serialized descriptor |
[in] | desc_len | descriptor length |
void Clone_Desc_Task_Meta::init_header | ( | uint | version | ) |
Initialize header.
[in] | version | descriptor version |
void Clone_Desc_Task_Meta::serialize | ( | byte *& | desc_task, |
uint & | len, | ||
mem_heap_t * | heap | ||
) |
Serialize the descriptor.
Caller should pass the length if allocated.
[out] | desc_task | serialized descriptor |
[in,out] | len | length of serialized descriptor |
[in] | heap | heap for allocating memory |
Clone_Desc_Header Clone_Desc_Task_Meta::m_header |
Descriptor header.
Clone_Task_Meta Clone_Desc_Task_Meta::m_task_meta |
Task information.