MySQL 8.0.40
Source Code Documentation
|
CLONE_DESC_DATA: Descriptor for data. More...
#include <clone0desc.h>
Public Member Functions | |
void | init_header (uint version) |
Initialize header. More... | |
void | serialize (byte *&desc_data, uint &len, mem_heap_t *heap) |
Serialize the descriptor. More... | |
bool | deserialize (const byte *desc_data, uint desc_len) |
Deserialize the descriptor. More... | |
Public Attributes | |
Clone_Desc_Header | m_header |
Descriptor header. More... | |
Snapshot_State | m_state |
Current snapshot State. More... | |
Clone_Task_Meta | m_task_meta |
Task information. More... | |
uint32_t | m_file_index |
File identifier. More... | |
uint32_t | m_data_len |
Data Length. More... | |
uint64_t | m_file_offset |
File offset for the data. More... | |
uint64_t | m_file_size |
Updated file size. More... | |
CLONE_DESC_DATA: Descriptor for data.
Deserialize the descriptor.
[in] | desc_data | serialized descriptor |
[in] | desc_len | descriptor length |
void Clone_Desc_Data::init_header | ( | uint | version | ) |
Initialize header.
[in] | version | descriptor version |
void Clone_Desc_Data::serialize | ( | byte *& | desc_data, |
uint & | len, | ||
mem_heap_t * | heap | ||
) |
Serialize the descriptor.
Caller should pass the length if allocated.
[out] | desc_data | serialized descriptor |
[in,out] | len | length of serialized descriptor |
[in] | heap | heap for allocating memory |
uint32_t Clone_Desc_Data::m_data_len |
Data Length.
uint32_t Clone_Desc_Data::m_file_index |
File identifier.
uint64_t Clone_Desc_Data::m_file_offset |
File offset for the data.
uint64_t Clone_Desc_Data::m_file_size |
Updated file size.
Clone_Desc_Header Clone_Desc_Data::m_header |
Descriptor header.
Snapshot_State Clone_Desc_Data::m_state |
Current snapshot State.
Clone_Task_Meta Clone_Desc_Data::m_task_meta |
Task information.