MySQL 5.6.14 Source Code Document
|
#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) |
Public Member Functions inherited from Diagnostics_information_item | |
bool | set_value (THD *thd, Item **value) |
Additional Inherited Members | |
Static Public Member Functions inherited from Sql_alloc | |
static void * | operator new (size_t size) throw () |
static void * | operator new[] (size_t size) throw () |
static void * | operator new[] (size_t size, MEM_ROOT *mem_root) throw () |
static void * | operator new (size_t size, MEM_ROOT *mem_root) throw () |
static void | operator delete (void *ptr, size_t size) |
static void | operator delete (void *ptr, MEM_ROOT *mem_root) |
static void | operator delete[] (void *ptr, MEM_ROOT *mem_root) |
static void | operator delete[] (void *ptr, size_t size) |
Protected Member Functions inherited from Diagnostics_information_item | |
Diagnostics_information_item (Item *target) | |
virtual | ~Diagnostics_information_item () |
A statement information item.
Definition at line 178 of file sql_get_diagnostics.h.
The name of a statement information item.
Definition at line 182 of file sql_get_diagnostics.h.
Constructor, used to represent a statement information item.
name | The name of this item. |
target | A target that gets the value of this item. |
Definition at line 194 of file sql_get_diagnostics.h.
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. |
Definition at line 163 of file sql_get_diagnostics.cc.