MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Statement_information_item Class Reference

#include <sql_get_diagnostics.h>

Inheritance diagram for Statement_information_item:
Collaboration diagram for Statement_information_item:

Public Types

enum  Name { NUMBER, ROW_COUNT }

Public Member Functions

 Statement_information_item (Name name, Item *target)
Itemget_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 ()

Detailed Description

A statement information item.

Definition at line 178 of file sql_get_diagnostics.h.

Member Enumeration Documentation

The name of a statement information item.

Definition at line 182 of file sql_get_diagnostics.h.

Constructor & Destructor Documentation

Statement_information_item::Statement_information_item ( Name  name,
Item target 
)
inline

Constructor, used to represent a statement information item.

Parameters
nameThe name of this item.
targetA target that gets the value of this item.

Definition at line 194 of file sql_get_diagnostics.h.

Member Function Documentation

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.

Parameters
thdThe current thread.
daThe diagnostics area.
Return values
Itemrepresenting the value.
NULLon error.

Definition at line 163 of file sql_get_diagnostics.cc.


The documentation for this class was generated from the following files: