![]() |
MySQL 8.0.43
Source Code Documentation
|
Condition information. More...
#include <sql_get_diagnostics.h>
Public Member Functions | |
| Condition_information (Item *cond_number_expr, List< Condition_information_item > *items) | |
| Constructor, used to represent the condition information of a GET DIAGNOSTICS statement. More... | |
| bool | aggregate (THD *thd, const Diagnostics_area *da) override |
| Obtain condition information in the context of a Diagnostics Area. More... | |
Public Member Functions inherited from Diagnostics_information | |
| void | set_which_da (Which_area area) |
| Set which Diagnostics Area to access. More... | |
| Which_area | get_which_da (void) const |
| Get which Diagnostics Area to access. More... | |
Private Attributes | |
| Item * | m_cond_number_expr |
| Number that identifies the diagnostic condition for which information is to be obtained. More... | |
| List< Condition_information_item > * | m_items |
| List of condition information items. More... | |
Additional Inherited Members | |
Public Types inherited from Diagnostics_information | |
| enum | Which_area { CURRENT_AREA , STACKED_AREA } |
| Which Diagnostics Area to access. More... | |
Protected Member Functions inherited from Diagnostics_information | |
| virtual | ~Diagnostics_information () |
| Diagnostics_information objects are allocated in thd->mem_root. More... | |
| template<typename Diag_item , typename Context > | |
| bool | evaluate (THD *thd, Diag_item *diag_item, Context ctx) |
| Evaluate a diagnostics information item in a specific context. More... | |
Condition information.
|
inline |
Constructor, used to represent the condition information of a GET DIAGNOSTICS statement.
| cond_number_expr | Number that identifies the diagnostic condition. |
| items | List of requested condition information items. |
|
overridevirtual |
Obtain condition information in the context of a Diagnostics Area.
Obtain condition information in the context of a given Diagnostics Area.
| thd | The current thread. |
| da | The Diagnostics Area. |
| false | on success. |
| true | on error |
Implements Diagnostics_information.
|
private |
Number that identifies the diagnostic condition for which information is to be obtained.
|
private |
List of condition information items.