| 221 | } |
| 222 | |
| 223 | void my_handler_error_register(void) |
| 224 | { |
| 225 | /* |
| 226 | If you got compilation error here about compile_time_assert array, check |
| 227 | that every HA_ERR_xxx constant has a corresponding error message in |
| 228 | handler_error_messages[] list (check mysys/ma_handler_errors.h and |
| 229 | include/my_base.h). |
| 230 | */ |
| 231 | compile_time_assert(HA_ERR_FIRST + array_elements(handler_error_messages) == |
| 232 | HA_ERR_LAST + 1); |
| 233 | my_error_register(get_handler_error_messages, HA_ERR_FIRST, |
| 234 | HA_ERR_FIRST+ array_elements(handler_error_messages)-1); |
| 235 | } |
| 236 | |
| 237 | |
| 238 | void my_handler_error_unregister(void) |
no test coverage detected