MySQL 8.0.32
Source Code Documentation
ddl::Dup Struct Reference

Structure for reporting duplicate records. More...

#include <ddl0ddl.h>

Public Member Functions

void report (const dfield_t *entry) noexcept
 Report a duplicate key. More...
 
void report (const mrec_t *entry, const ulint *offsets) noexcept
 Report a duplicate key. More...
 
bool empty () const noexcept
 

Public Attributes

dict_index_tm_index {}
 Index being sorted. More...
 
TABLEm_table {}
 MySQL table object. More...
 
const ulintm_col_map {}
 Mapping of column numbers in table to the rebuilt table (index->table), or NULL if not rebuilding table. More...
 
size_t m_n_dup {}
 Number of duplicates. More...
 

Detailed Description

Structure for reporting duplicate records.

Member Function Documentation

◆ empty()

bool ddl::Dup::empty ( ) const
inlinenoexcept
Returns
true if no duplicates reported yet.

◆ report() [1/2]

void ddl::Dup::report ( const dfield_t entry)
noexcept

Report a duplicate key.

Parameters
[in]entryFor reporting duplicate key.

◆ report() [2/2]

void ddl::Dup::report ( const mrec_t entry,
const ulint offsets 
)
noexcept

Report a duplicate key.

Parameters
[in]entryFor reporting duplicate key.
[in]offsetsRow offsets

Member Data Documentation

◆ m_col_map

const ulint* ddl::Dup::m_col_map {}

Mapping of column numbers in table to the rebuilt table (index->table), or NULL if not rebuilding table.

◆ m_index

dict_index_t* ddl::Dup::m_index {}

Index being sorted.

◆ m_n_dup

size_t ddl::Dup::m_n_dup {}

Number of duplicates.

◆ m_table

TABLE* ddl::Dup::m_table {}

MySQL table object.


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