| 65 | */ |
| 66 | |
| 67 | static void embedded_error_handler(uint error, const char *str, myf MyFlags) |
| 68 | { |
| 69 | DBUG_ENTER("embedded_error_handler"); |
| 70 | |
| 71 | /* |
| 72 | If current_thd is NULL, it means restore_global has been called and |
| 73 | thread is in client context, then call client error handler else call |
| 74 | server error handler. |
| 75 | */ |
| 76 | DBUG_RETURN(current_thd ? my_message_sql(error, str, MyFlags): |
| 77 | my_message_stderr(error, str, MyFlags)); |
| 78 | } |
| 79 | |
| 80 | /* |
| 81 | Reads error information from the MYSQL_DATA and puts |
nothing calls this directly
no test coverage detected