MySQL 8.3.0
Source Code Documentation
Diagnostics_information_item Class Reference

A diagnostics information item. More...

#include <sql_get_diagnostics.h>

Inheritance diagram for Diagnostics_information_item:
[legend]

Public Member Functions

bool set_value (THD *thd, Item **value)
 Set a value for this item. More...
 

Protected Member Functions

 Diagnostics_information_item (Item *target)
 Constructor, used to represent a diagnostics information item. More...
 
virtual ~Diagnostics_information_item ()
 Diagnostics_information_item objects are allocated in thd->mem_root. More...
 

Private Attributes

Itemm_target
 The target variable that will receive the value of this item. More...
 

Detailed Description

A diagnostics information item.

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

Constructor & Destructor Documentation

◆ Diagnostics_information_item()

Diagnostics_information_item::Diagnostics_information_item ( Item target)
inlineprotected

Constructor, used to represent a diagnostics information item.

Parameters
targetA target that gets the value of this item.

◆ ~Diagnostics_information_item()

virtual Diagnostics_information_item::~Diagnostics_information_item ( )
inlineprotectedvirtual

Diagnostics_information_item objects are allocated in thd->mem_root.

Do not rely on the destructor for any cleanup.

Member Function Documentation

◆ set_value()

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.

Member Data Documentation

◆ m_target

Item* Diagnostics_information_item::m_target
private

The target variable that will receive the value of this item.


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