MySQL 5.6.14 Source Code Document
|
#include <sql_get_diagnostics.h>
Public Member Functions | |
Statement_information (List< Statement_information_item > *items) | |
bool | aggregate (THD *thd, const Diagnostics_area *da) |
Public Member Functions inherited from Diagnostics_information | |
void | set_which_da (Which_area area) |
Which_area | get_which_da (void) const |
Additional Inherited Members | |
Public Types inherited from Diagnostics_information | |
enum | Which_area { CURRENT_AREA } |
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 | |
virtual | ~Diagnostics_information () |
template<typename Diag_item , typename Context > | |
bool | evaluate (THD *thd, Diag_item *diag_item, Context ctx) |
Statement information.
Definition at line 212 of file sql_get_diagnostics.h.
|
inline |
Constructor, used to represent the statement information of a GET DIAGNOSTICS statement.
items | List of requested statement information items. |
Definition at line 221 of file sql_get_diagnostics.h.
|
virtual |
Obtain statement information in the context of a diagnostics area.
Obtain statement 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.
Definition at line 130 of file sql_get_diagnostics.cc.