My Project
Public Member Functions | Protected Member Functions
Diagnostics_information_item Class Reference

#include <sql_get_diagnostics.h>

Inheritance diagram for Diagnostics_information_item:
Sql_alloc Condition_information_item Statement_information_item

List of all members.

Public Member Functions

bool set_value (THD *thd, Item **value)

Protected Member Functions

 Diagnostics_information_item (Item *target)
virtual ~Diagnostics_information_item ()

Detailed Description

A diagnostics information item. Used to associate a specific diagnostics information item to a target variable.


Constructor & Destructor Documentation

Constructor, used to represent a diagnostics information item.

Parameters:
targetA target that gets the value of this item.
virtual Diagnostics_information_item::~Diagnostics_information_item ( ) [inline, protected, virtual]

Diagnostics_information_item objects are allocated in thd->mem_root. Do not rely on the destructor for any cleanup.


Member Function Documentation

bool Diagnostics_information_item::set_value ( THD *  thd,
Item **  value 
)

Set a value for this item.

Parameters:
thdThe current thread.
valueThe obtained value.
Return values:
falseon success.
trueon error.

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