My Project
Public Member Functions
Condition_information Class Reference

#include <sql_get_diagnostics.h>

Inheritance diagram for Condition_information:
Diagnostics_information Sql_alloc

List of all members.

Public Member Functions

 Condition_information (Item *cond_number_expr, List< Condition_information_item > *items)
bool aggregate (THD *thd, const Diagnostics_area *da)

Detailed Description

Condition information.

Remarks:
Provides information about conditions raised during the execution of a statement.

Constructor & Destructor Documentation

Condition_information::Condition_information ( Item cond_number_expr,
List< Condition_information_item > *  items 
) [inline]

Constructor, used to represent the condition information of a GET DIAGNOSTICS statement.

Parameters:
cond_number_exprNumber that identifies the diagnostic condition.
itemsList of requested condition information items.

Member Function Documentation

bool Condition_information::aggregate ( THD *  thd,
const Diagnostics_area da 
) [virtual]

Obtain condition information in the context of a diagnostics area.

Obtain condition information in the context of a given diagnostics area.

Parameters:
thdThe current thread.
daThe diagnostics area.
Return values:
falseon success.
trueon error

Implements Diagnostics_information.


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