MySQL 9.1.0
Source Code Documentation
ddl::Copy_ctx Struct Reference

Context for copying cluster index row for the index to being created. More...

Public Member Functions

 Copy_ctx (const Row &row, TABLE *my_table, size_t thread_id) noexcept
 Constructor. More...
 

Public Attributes

const Rowm_row
 Row to copy. More...
 
TABLEm_my_table {}
 MySQL table definition. More...
 
size_t m_n_fields {}
 Number of columns to copy. More...
 
size_t m_n_mv_rows_to_add {}
 Number of multivalue rows to add. More...
 
const multi_value_datam_mv {}
 For storing multi value data. More...
 
size_t m_n_rows_added {}
 Number of rows added or UNIV_NO_INDEX_VALUE if this is a multi-value index and current row has nothing valid to be indexed. More...
 
size_t m_data_size {}
 Number of bytes copied. More...
 
size_t m_extra_size {}
 Number of extra bytes used. More...
 
size_t m_n_recs {}
 Number of rows added during copy. More...
 
size_t m_thread_id {std::numeric_limits<size_t>::max()}
 ID of the current thread. More...
 

Detailed Description

Context for copying cluster index row for the index to being created.

Constructor & Destructor Documentation

◆ Copy_ctx()

ddl::Copy_ctx::Copy_ctx ( const Row row,
TABLE my_table,
size_t  thread_id 
)
inlinenoexcept

Constructor.

Parameters
[in]rowRow to copy.
[in,out]my_tableServer table definition.
[in]thread_idID of current thread.

Member Data Documentation

◆ m_data_size

size_t ddl::Copy_ctx::m_data_size {}

Number of bytes copied.

◆ m_extra_size

size_t ddl::Copy_ctx::m_extra_size {}

Number of extra bytes used.

◆ m_mv

const multi_value_data* ddl::Copy_ctx::m_mv {}

For storing multi value data.

◆ m_my_table

TABLE* ddl::Copy_ctx::m_my_table {}

MySQL table definition.

◆ m_n_fields

size_t ddl::Copy_ctx::m_n_fields {}

Number of columns to copy.

◆ m_n_mv_rows_to_add

size_t ddl::Copy_ctx::m_n_mv_rows_to_add {}

Number of multivalue rows to add.

◆ m_n_recs

size_t ddl::Copy_ctx::m_n_recs {}

Number of rows added during copy.

◆ m_n_rows_added

size_t ddl::Copy_ctx::m_n_rows_added {}

Number of rows added or UNIV_NO_INDEX_VALUE if this is a multi-value index and current row has nothing valid to be indexed.

◆ m_row

const Row& ddl::Copy_ctx::m_row

Row to copy.

◆ m_thread_id

size_t ddl::Copy_ctx::m_thread_id {std::numeric_limits<size_t>::max()}

ID of the current thread.


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