MySQL 9.0.0
Source Code Documentation
anonymous_namespace{sql_table.cc}::Replace_field_processor_arg Class Reference

This class is used as an input argument to Item::walk, and takes care of replacing the field pointer in Item_field with pointers to a Create_field_wrapper. More...

Public Member Functions

 Replace_field_processor_arg (THD *thd, List< Create_field > *fields, const HA_CREATE_INFO *create_info, const char *functional_index_name)
 
const HA_CREATE_INFOcreate_info () const
 
const THDthd () const
 
List< Create_field > const * fields () const
 
const char * functional_index_name () const
 

Private Attributes

THDm_thd
 
List< Create_field > * m_fields
 
const HA_CREATE_INFOm_create_info
 
const char * m_functional_index_name
 

Detailed Description

This class is used as an input argument to Item::walk, and takes care of replacing the field pointer in Item_field with pointers to a Create_field_wrapper.

This allows us to get the metadata for a column that isn't created yet (Create_field).

Constructor & Destructor Documentation

◆ Replace_field_processor_arg()

anonymous_namespace{sql_table.cc}::Replace_field_processor_arg::Replace_field_processor_arg ( THD thd,
List< Create_field > *  fields,
const HA_CREATE_INFO create_info,
const char *  functional_index_name 
)
inline

Member Function Documentation

◆ create_info()

const HA_CREATE_INFO * anonymous_namespace{sql_table.cc}::Replace_field_processor_arg::create_info ( ) const
inline

◆ fields()

List< Create_field > const * anonymous_namespace{sql_table.cc}::Replace_field_processor_arg::fields ( ) const
inline

◆ functional_index_name()

const char * anonymous_namespace{sql_table.cc}::Replace_field_processor_arg::functional_index_name ( ) const
inline

◆ thd()

const THD * anonymous_namespace{sql_table.cc}::Replace_field_processor_arg::thd ( ) const
inline

Member Data Documentation

◆ m_create_info

const HA_CREATE_INFO* anonymous_namespace{sql_table.cc}::Replace_field_processor_arg::m_create_info
private

◆ m_fields

List<Create_field>* anonymous_namespace{sql_table.cc}::Replace_field_processor_arg::m_fields
private

◆ m_functional_index_name

const char* anonymous_namespace{sql_table.cc}::Replace_field_processor_arg::m_functional_index_name
private

◆ m_thd

THD* anonymous_namespace{sql_table.cc}::Replace_field_processor_arg::m_thd
private

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