My Project
Public Types | Public Member Functions
Condition_information_item Class Reference

#include <sql_get_diagnostics.h>

Inheritance diagram for Condition_information_item:
Diagnostics_information_item Sql_alloc

List of all members.

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)
Itemget_value (THD *thd, const Sql_condition *cond)

Detailed Description

A condition information item.


Member Enumeration Documentation

The name of a condition information item.


Constructor & Destructor Documentation

Constructor, used to represent a condition information item.

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

Member Function Documentation

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.

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