#include <sql_error.h>
Inheritance diagram for MYSQL_ERROR:


Public Types | |
| WARN_LEVEL_NOTE | |
| WARN_LEVEL_WARN | |
| WARN_LEVEL_ERROR | |
| WARN_LEVEL_END | |
| enum | enum_warning_level { WARN_LEVEL_NOTE, WARN_LEVEL_WARN, WARN_LEVEL_ERROR, WARN_LEVEL_END } |
Public Member Functions | |
| MYSQL_ERROR (THD *thd, uint code_arg, enum_warning_level level_arg, const char *msg_arg) | |
| void | set_msg (THD *thd, const char *msg_arg) |
Public Attributes | |
| uint | code |
| enum_warning_level | level |
| char * | msg |
Definition at line 17 of file sql_error.h.
Definition at line 20 of file sql_error.h.
00021 { WARN_LEVEL_NOTE, WARN_LEVEL_WARN, WARN_LEVEL_ERROR, WARN_LEVEL_END};
| MYSQL_ERROR::MYSQL_ERROR | ( | THD * | thd, | |
| uint | code_arg, | |||
| enum_warning_level | level_arg, | |||
| const char * | msg_arg | |||
| ) | [inline] |
| void MYSQL_ERROR::set_msg | ( | THD * | thd, | |
| const char * | msg_arg | |||
| ) |
Definition at line 55 of file sql_error.cc.
References msg, and strdup_root().
Referenced by Item_func_group_concat::cleanup(), and MYSQL_ERROR().
00056 { 00057 msg= strdup_root(&thd->warn_root, msg_arg); 00058 }
Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 24 of file sql_error.h.
Referenced by evex_print_warnings(), and mysqld_show_warnings().
| char* MYSQL_ERROR::msg |
Definition at line 25 of file sql_error.h.
Referenced by evex_print_warnings(), mysqld_show_warnings(), and set_msg().
1.4.7

