| 131 | */ |
| 132 | |
| 133 | bool |
| 134 | Statement_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 | /** |
no test coverage detected