|
MySQL 5.6.14 Source Code Document
|
#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) |
Additional Inherited Members | |
Static Public Member Functions inherited from Sql_alloc | |
| static void * | operator new (size_t size) throw () |
| static void * | operator new[] (size_t size) throw () |
| static void * | operator new[] (size_t size, MEM_ROOT *mem_root) throw () |
| static void * | operator new (size_t size, MEM_ROOT *mem_root) throw () |
| static void | operator delete (void *ptr, size_t size) |
| static void | operator delete (void *ptr, MEM_ROOT *mem_root) |
| static void | operator delete[] (void *ptr, MEM_ROOT *mem_root) |
| static void | operator delete[] (void *ptr, size_t size) |
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.
Definition at line 30 of file sql_get_diagnostics.h.
|
inline |
Constructor, used to represent a GET DIAGNOSTICS statement.
| info | Diagnostics information to be obtained. |
Definition at line 38 of file sql_get_diagnostics.h.
|
virtual |
Execute this GET DIAGNOSTICS statement.
| thd | The current thread. |
| false | on success. |
| true | on error |
Implements Sql_cmd.
Definition at line 43 of file sql_get_diagnostics.cc.
