| 501 | } |
| 502 | |
| 503 | static void handle_error(void *ctx) { |
| 504 | char buffer[STRING_BUFFER_SIZE]; |
| 505 | struct st_plugin_ctx *pctx = (struct st_plugin_ctx *)ctx; |
| 506 | |
| 507 | /* handle_error */ |
| 508 | if (pctx->sql_errno) { |
| 509 | WRITE_VAL("error: %d\n", pctx->sql_errno); |
| 510 | WRITE_VAL("error msg: %s\n", pctx->err_msg); |
| 511 | } |
| 512 | } |
| 513 | |
| 514 | static void exec_test_cmd(MYSQL_SESSION session, const char *test_cmd, |
| 515 | void *p [[maybe_unused]], struct st_plugin_ctx *ctx) { |
no test coverage detected