MySQL 8.0.39
Source Code Documentation
|
CLONE_DESC_FILE_METADATA: Descriptor for file metadata. More...
#include <clone0desc.h>
Public Member Functions | |
void | init_header (uint version) |
Initialize header. More... | |
void | serialize (byte *&desc_file, uint &len, mem_heap_t *heap) |
Serialize the descriptor. More... | |
bool | deserialize (const byte *desc_file, 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_File_Meta | m_file_meta |
File metadata. More... | |
CLONE_DESC_FILE_METADATA: Descriptor for file metadata.
Deserialize the descriptor.
[in] | desc_file | serialized descriptor |
[in] | desc_len | descriptor length |
void Clone_Desc_File_MetaData::init_header | ( | uint | version | ) |
Initialize header.
[in] | version | descriptor version |
void Clone_Desc_File_MetaData::serialize | ( | byte *& | desc_file, |
uint & | len, | ||
mem_heap_t * | heap | ||
) |
Serialize the descriptor.
Caller should pass the length if allocated.
[out] | desc_file | serialized descriptor |
[in,out] | len | length of serialized descriptor |
[in] | heap | heap for allocating memory |
Clone_File_Meta Clone_Desc_File_MetaData::m_file_meta |
File metadata.
Clone_Desc_Header Clone_Desc_File_MetaData::m_header |
Descriptor header.
Snapshot_State Clone_Desc_File_MetaData::m_state |
Current snapshot State.