| 1047 | |
| 1048 | |
| 1049 | void THD::raise_error(uint sql_errno) |
| 1050 | { |
| 1051 | const char* msg= ER_THD(this, sql_errno); |
| 1052 | (void) raise_condition(sql_errno, "\0\0\0\0\0", |
| 1053 | Sql_condition::WARN_LEVEL_ERROR, msg); |
| 1054 | } |
| 1055 | |
| 1056 | void THD::raise_error_printf(uint sql_errno, ...) |
| 1057 | { |