My Project
Public Types | Public Member Functions
Statement_information_item Class Reference

#include <sql_get_diagnostics.h>

Inheritance diagram for Statement_information_item:
Diagnostics_information_item Sql_alloc

List of all members.

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)

Detailed Description

A statement information item.


Member Enumeration Documentation

The name of a statement information item.


Constructor & Destructor Documentation

Constructor, used to represent a statement information item.

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

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.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines