MySQL 9.0.0
Source Code Documentation
Item_sum::Collect_grouped_aggregate_info Struct Reference

argument used by walk method collect_grouped_aggregates ("cga") More...

#include <item_sum.h>

Public Member Functions

 Collect_grouped_aggregate_info (Query_block *select)
 

Public Attributes

std::vector< Item_sum * > list
 accumulated all aggregates found More...
 
std::set< Item_sum * > aggregates_that_were_hidden
 
Query_blockm_query_block {nullptr}
 The query block we walk from. More...
 
bool m_break_off {false}
 true: break off transformation More...
 
bool m_outside {false}
 true: an aggregate aggregates outside m_query_block More...
 

Detailed Description

argument used by walk method collect_grouped_aggregates ("cga")

Constructor & Destructor Documentation

◆ Collect_grouped_aggregate_info()

Item_sum::Collect_grouped_aggregate_info::Collect_grouped_aggregate_info ( Query_block select)
inline

Member Data Documentation

◆ aggregates_that_were_hidden

std::set<Item_sum *> Item_sum::Collect_grouped_aggregate_info::aggregates_that_were_hidden

◆ list

std::vector<Item_sum *> Item_sum::Collect_grouped_aggregate_info::list

accumulated all aggregates found

◆ m_break_off

bool Item_sum::Collect_grouped_aggregate_info::m_break_off {false}

true: break off transformation

◆ m_outside

bool Item_sum::Collect_grouped_aggregate_info::m_outside {false}

true: an aggregate aggregates outside m_query_block

◆ m_query_block

Query_block* Item_sum::Collect_grouped_aggregate_info::m_query_block {nullptr}

The query block we walk from.

All found aggregates must aggregate in this; if some aggregate in outer query blocks, break off transformation.


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