MySQL 8.0.39
Source Code Documentation
|
Statement information. More...
#include <sql_get_diagnostics.h>
Public Member Functions | |
Statement_information (List< Statement_information_item > *items) | |
Constructor, used to represent the statement information of a GET DIAGNOSTICS statement. More... | |
bool | aggregate (THD *thd, const Diagnostics_area *da) override |
Obtain statement 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 | |
List< Statement_information_item > * | m_items |
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... | |
Statement information.
|
inline |
Constructor, used to represent the statement information of a GET DIAGNOSTICS statement.
items | List of requested statement information items. |
|
overridevirtual |
Obtain statement information in the context of a Diagnostics Area.
Obtain statement 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 |