MCPcopy Create free account
hub / github.com/MariaDB/server / aggregate

Method aggregate

sql/sql_get_diagnostics.cc:133–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131*/
132
133bool
134Statement_information::aggregate(THD *thd, const Diagnostics_area *da)
135{
136 bool rv= false;
137 Statement_information_item *stmt_info_item;
138 List_iterator<Statement_information_item> it(*m_items);
139 DBUG_ENTER("Statement_information::aggregate");
140
141 /*
142 Each specified target gets the value of each given
143 information item obtained from the diagnostics area.
144 */
145 while ((stmt_info_item= it++))
146 {
147 if ((rv= evaluate(thd, stmt_info_item, da)))
148 break;
149 }
150
151 DBUG_RETURN(rv);
152}
153
154
155/**

Callers 1

executeMethod · 0.45

Calls 5

my_errorFunction · 0.85
sql_conditionsMethod · 0.80
fix_fields_if_neededMethod · 0.80
val_intMethod · 0.45
cond_countMethod · 0.45

Tested by

no test coverage detected