MySQL 8.4.3
Source Code Documentation
Item::Css_info Struct Reference

Minion class under Collect_scalar_subquery_info. More...

#include <item.h>

Public Attributes

int8 m_location {0}
 set of locations More...
 
Item_singlerow_subselectitem {nullptr}
 the scalar subquery More...
 
table_map m_correlation_map {0}
 
Itemm_join_condition {nullptr}
 Where did we find item above? Used when m_location == L_JOIN_COND, nullptr for other locations. More...
 
bool m_implicitly_grouped_and_no_union {false}
 If true, we can forego cardinality checking of the derived table. More...
 
bool m_add_coalesce {false}
 If true, add a COALESCE around replaced subquery: used for implicitly grouped COUNT() in subquery select list when subquery is correlated. More...
 

Detailed Description

Minion class under Collect_scalar_subquery_info.

Information about one scalar subquery being considered for transformation

Member Data Documentation

◆ item

Item_singlerow_subselect* Item::Css_info::item {nullptr}

the scalar subquery

◆ m_add_coalesce

bool Item::Css_info::m_add_coalesce {false}

If true, add a COALESCE around replaced subquery: used for implicitly grouped COUNT() in subquery select list when subquery is correlated.

◆ m_correlation_map

table_map Item::Css_info::m_correlation_map {0}

◆ m_implicitly_grouped_and_no_union

bool Item::Css_info::m_implicitly_grouped_and_no_union {false}

If true, we can forego cardinality checking of the derived table.

◆ m_join_condition

Item* Item::Css_info::m_join_condition {nullptr}

Where did we find item above? Used when m_location == L_JOIN_COND, nullptr for other locations.

◆ m_location

int8 Item::Css_info::m_location {0}

set of locations


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