My Project
|
#include <sql_get_diagnostics.h>
Public Types | |
enum | Name { NUMBER, ROW_COUNT } |
Public Member Functions | |
Statement_information_item (Name name, Item *target) | |
Item * | get_value (THD *thd, const Diagnostics_area *da) |
A statement information item.
The name of a statement information item.
Statement_information_item::Statement_information_item | ( | Name | name, |
Item * | target | ||
) | [inline] |
Constructor, used to represent a statement information item.
name | The name of this item. |
target | A target that gets the value of this item. |
Item * Statement_information_item::get_value | ( | THD * | thd, |
const Diagnostics_area * | da | ||
) |
Obtain value of this statement information item.
Obtain the value of this statement information item in the context of a given diagnostics area.
thd | The current thread. |
da | The diagnostics area. |
Item | representing the value. |
NULL | on error. |