My Project
|
#include <sql_get_diagnostics.h>
Public Member Functions | |
Sql_cmd_get_diagnostics (Diagnostics_information *info) | |
virtual enum_sql_command | sql_command_code () const |
Return the command code for this statement. | |
virtual bool | execute (THD *thd) |
Sql_cmd_get_diagnostics represents a GET DIAGNOSTICS statement.
The GET DIAGNOSTICS statement retrieves exception or completion condition information from a diagnostics area, usually pertaining to the last non-diagnostic SQL statement that was executed.
Sql_cmd_get_diagnostics::Sql_cmd_get_diagnostics | ( | Diagnostics_information * | info | ) | [inline] |
Constructor, used to represent a GET DIAGNOSTICS statement.
info | Diagnostics information to be obtained. |
bool Sql_cmd_get_diagnostics::execute | ( | THD * | thd | ) | [virtual] |
Execute this GET DIAGNOSTICS statement.
thd | The current thread. |
false | on success. |
true | on error |
Implements Sql_cmd.