MySQL 5.6.14 Source Code Document
|
#include <sql_error.h>
Public Types | |
enum | enum_warning_level { WARN_LEVEL_NOTE, WARN_LEVEL_WARN, WARN_LEVEL_ERROR, WARN_LEVEL_END } |
Public Member Functions | |
const char * | get_message_text () const |
int | get_message_octet_length () const |
const char * | get_sqlstate () const |
uint | get_sql_errno () const |
Sql_condition::enum_warning_level | get_level () const |
Friends | |
class | THD |
class | Warning_info |
class | Sql_cmd_common_signal |
class | Sql_cmd_signal |
class | Sql_cmd_resignal |
class | sp_rcontext |
class | Condition_information_item |
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) |
Representation of a SQL condition. A SQL condition can be a completion condition (note, warning), or an exception condition (error, not found).
Definition at line 35 of file sql_error.h.
|
inline |
Get the error level of this condition.
Definition at line 77 of file sql_error.h.
int Sql_condition::get_message_octet_length | ( | ) | const |
Get the MESSAGE_OCTET_LENGTH of this condition.
Definition at line 309 of file sql_error.cc.
const char * Sql_condition::get_message_text | ( | ) | const |
Get the MESSAGE_TEXT of this condition.
Definition at line 303 of file sql_error.cc.
|
inline |
Get the SQL_ERRNO of this condition.
Definition at line 70 of file sql_error.h.
|
inline |
Get the SQLSTATE of this condition.
Definition at line 63 of file sql_error.h.