My Project
|
#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 |
Representation of a SQL condition. A SQL condition can be a completion condition (note, warning), or an exception condition (error, not found).
Sql_condition::enum_warning_level Sql_condition::get_level | ( | ) | const [inline] |
Get the error level of this condition.
int Sql_condition::get_message_octet_length | ( | ) | const |
Get the MESSAGE_OCTET_LENGTH of this condition.
const char * Sql_condition::get_message_text | ( | ) | const |
Get the MESSAGE_TEXT of this condition.
uint Sql_condition::get_sql_errno | ( | ) | const [inline] |
Get the SQL_ERRNO of this condition.
const char* Sql_condition::get_sqlstate | ( | ) | const [inline] |
Get the SQLSTATE of this condition.