My Project
|
#include <sql_get_diagnostics.h>
Public Member Functions | |
Condition_information (Item *cond_number_expr, List< Condition_information_item > *items) | |
bool | aggregate (THD *thd, const Diagnostics_area *da) |
Condition information.
Condition_information::Condition_information | ( | Item * | cond_number_expr, |
List< Condition_information_item > * | items | ||
) | [inline] |
Constructor, used to represent the condition information of a GET DIAGNOSTICS statement.
cond_number_expr | Number that identifies the diagnostic condition. |
items | List of requested condition information items. |
bool Condition_information::aggregate | ( | THD * | thd, |
const Diagnostics_area * | da | ||
) | [virtual] |
Obtain condition information in the context of a diagnostics area.
Obtain condition information in the context of a given diagnostics area.
thd | The current thread. |
da | The diagnostics area. |
false | on success. |
true | on error |
Implements Diagnostics_information.