MCPcopy Create free account
hub / github.com/MariaDB/server / show_mysql_error

Method show_mysql_error

plugin/handler_socket/client/hslongrun.cpp:853–866  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

851}
852
853void
854hs_longrun_thread_my::show_mysql_error(const char *mess, record_value *rec)
855{
856 ++stat.runtime_error_count;
857 if (arg.sh.verbose > 0) {
858 fprintf(stderr, "RUNTIME_ERROR: op=%c wid=%d [%s]: %s\n",
859 arg.op, arg.id, mess, mysql_error(db));
860 }
861 if (rec) {
862 rec->unknown_state = true;
863 }
864 db.reset();
865 connected = false;
866}
867
868void
869mysql_do(MYSQL *db, const char *query)

Callers

nothing calls this directly

Calls 2

mysql_errorFunction · 0.85
resetMethod · 0.45

Tested by

no test coverage detected