MySQL 5.6.14 Source Code Document
|
#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) |
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) |
Condition information.
Definition at line 288 of file sql_get_diagnostics.h.
|
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. |
Definition at line 298 of file sql_get_diagnostics.h.
|
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.
Definition at line 205 of file sql_get_diagnostics.cc.