MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / my_handler_error_register

Function my_handler_error_register

extra/perror.c:223–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221}
222
223void 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
238void my_handler_error_unregister(void)

Callers 1

mainFunction · 0.85

Calls 1

my_error_registerFunction · 0.85

Tested by

no test coverage detected