MySQL 8.0.39
Source Code Documentation
Clone_Desc_Task_Meta Struct Reference

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...
 

Detailed Description

CLONE_DESC_TASK_METADATA: Descriptor for a task for clone operation.

A task is used by exactly one thread

Member Function Documentation

◆ deserialize()

bool Clone_Desc_Task_Meta::deserialize ( const byte desc_task,
uint  desc_len 
)

Deserialize the descriptor.

Parameters
[in]desc_taskserialized descriptor
[in]desc_lendescriptor length
Returns
true, if successful.

◆ init_header()

void Clone_Desc_Task_Meta::init_header ( uint  version)

Initialize header.

Parameters
[in]versiondescriptor version

◆ serialize()

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.

Parameters
[out]desc_taskserialized descriptor
[in,out]lenlength of serialized descriptor
[in]heapheap for allocating memory

Member Data Documentation

◆ m_header

Clone_Desc_Header Clone_Desc_Task_Meta::m_header

Descriptor header.

◆ m_task_meta

Clone_Task_Meta Clone_Desc_Task_Meta::m_task_meta

Task information.


The documentation for this struct was generated from the following files: