MySQL 5.6.14 Source Code Document
|
#include <sql_get_diagnostics.h>
Public Types | |
enum | Name { CLASS_ORIGIN, SUBCLASS_ORIGIN, CONSTRAINT_CATALOG, CONSTRAINT_SCHEMA, CONSTRAINT_NAME, CATALOG_NAME, SCHEMA_NAME, TABLE_NAME, COLUMN_NAME, CURSOR_NAME, MESSAGE_TEXT, MYSQL_ERRNO, RETURNED_SQLSTATE } |
Public Member Functions | |
Condition_information_item (Name name, Item *target) | |
Item * | get_value (THD *thd, const Sql_condition *cond) |
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 condition information item.
Definition at line 237 of file sql_get_diagnostics.h.
The name of a condition information item.
Definition at line 243 of file sql_get_diagnostics.h.
Constructor, used to represent a condition information item.
name | The name of this item. |
target | A target that gets the value of this item. |
Definition at line 266 of file sql_get_diagnostics.h.
Item * Condition_information_item::get_value | ( | THD * | thd, |
const Sql_condition * | cond | ||
) |
Obtain value of this condition information item.
Obtain the value of this condition information item in the context of a given condition.
thd | The current thread. |
da | The diagnostics area. |
Item | representing the value. |
NULL | on error. |
Definition at line 288 of file sql_get_diagnostics.cc.