![]() |
MySQL 8.0.43
Source Code Documentation
|
A statement information item. More...
#include <sql_get_diagnostics.h>
Public Types | |
| enum | Name { NUMBER , ROW_COUNT } |
| The name of a statement information item. More... | |
Public Member Functions | |
| Statement_information_item (Name name, Item *target) | |
| Constructor, used to represent a statement information item. More... | |
| Item * | get_value (THD *thd, const Diagnostics_area *da) |
| Obtain value of this statement information item. More... | |
Public Member Functions inherited from Diagnostics_information_item | |
| bool | set_value (THD *thd, Item **value) |
| Set a value for this item. More... | |
Private Attributes | |
| Name | m_name |
| The name of this statement information item. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Diagnostics_information_item | |
| 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... | |
A statement information item.
Constructor, used to represent a statement information item.
| name | The name of this item. |
| target | A target that gets the value of this item. |
| 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.
| thd | The current thread. |
| da | The Diagnostics Area. |
| Item | representing the value. |
| NULL | on error. |
|
private |
The name of this statement information item.