MySQL 9.0.0
Source Code Documentation
Item::Collect_scalar_subquery_info Struct Reference

Context struct used by walk method collect_scalar_subqueries to accumulate information about scalar subqueries found. More...

#include <item.h>

Inheritance diagram for Item::Collect_scalar_subquery_info:
[legend]

Public Types

enum  Location { L_SELECT = 1 , L_WHERE = 2 , L_HAVING = 4 , L_JOIN_COND = 8 }
 

Public Member Functions

 Collect_scalar_subquery_info ()=default
 

Public Attributes

std::vector< Css_infom_list
 accumulated all scalar subqueries found More...
 
int8 m_location {0}
 we are currently looking at this kind of clause, cf. enum Location More...
 
Itemm_join_condition_context {nullptr}
 
bool m_collect_unconditionally {false}
 

Friends

class Item_sum
 
class Item_singlerow_subselect
 

Additional Inherited Members

- Protected Member Functions inherited from Item_tree_walker
 Item_tree_walker ()
 
 ~Item_tree_walker ()
 
 Item_tree_walker (const Item_tree_walker &)=delete
 
Item_tree_walkeroperator= (const Item_tree_walker &)=delete
 
void stop_at (const Item *i)
 Stops walking children of this item. More...
 
bool is_stopped (const Item *i)
 

Detailed Description

Context struct used by walk method collect_scalar_subqueries to accumulate information about scalar subqueries found.

In: m_location of expression walked, m_join_condition_context Out: m_list

Member Enumeration Documentation

◆ Location

Enumerator
L_SELECT 
L_WHERE 
L_HAVING 
L_JOIN_COND 

Constructor & Destructor Documentation

◆ Collect_scalar_subquery_info()

Item::Collect_scalar_subquery_info::Collect_scalar_subquery_info ( )
default

Friends And Related Function Documentation

◆ Item_singlerow_subselect

friend class Item_singlerow_subselect
friend

◆ Item_sum

friend class Item_sum
friend

Member Data Documentation

◆ m_collect_unconditionally

bool Item::Collect_scalar_subquery_info::m_collect_unconditionally {false}

◆ m_join_condition_context

Item* Item::Collect_scalar_subquery_info::m_join_condition_context {nullptr}

◆ m_list

std::vector<Css_info> Item::Collect_scalar_subquery_info::m_list

accumulated all scalar subqueries found

◆ m_location

int8 Item::Collect_scalar_subquery_info::m_location {0}

we are currently looking at this kind of clause, cf. enum Location


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