MySQL 8.0.29
Source Code Documentation
Item_singlerow_subselect::Scalar_subquery_replacement Struct Reference

Argument for walk method replace_scalar_subquery. More...

#include <item_subselect.h>

Public Member Functions

 Scalar_subquery_replacement (Item_singlerow_subselect *target, Field *field, Query_block *select, bool add_coalesce)
 

Public Attributes

Item_singlerow_subselectm_target
 subquery to be replaced with field More...
 
Fieldm_field
 the replacement field More...
 
Query_blockm_outer_query_block
 The transformed query block. More...
 
Query_blockm_inner_query_block
 The immediately surrounding query. More...
 
bool m_add_coalesce {false}
 

Detailed Description

Argument for walk method replace_scalar_subquery.

Constructor & Destructor Documentation

◆ Scalar_subquery_replacement()

Item_singlerow_subselect::Scalar_subquery_replacement::Scalar_subquery_replacement ( Item_singlerow_subselect target,
Field field,
Query_block select,
bool  add_coalesce 
)
inline

Member Data Documentation

◆ m_add_coalesce

bool Item_singlerow_subselect::Scalar_subquery_replacement::m_add_coalesce {false}

◆ m_field

Field* Item_singlerow_subselect::Scalar_subquery_replacement::m_field

the replacement field

◆ m_inner_query_block

Query_block* Item_singlerow_subselect::Scalar_subquery_replacement::m_inner_query_block

The immediately surrounding query.

block. This will be the transformed block or a subquery of it

◆ m_outer_query_block

Query_block* Item_singlerow_subselect::Scalar_subquery_replacement::m_outer_query_block

The transformed query block.

◆ m_target

Item_singlerow_subselect* Item_singlerow_subselect::Scalar_subquery_replacement::m_target

subquery to be replaced with field


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