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

Function DB_error

client/mysqldump.cc:1428–1434  ·  view source on GitHub ↗

** DB_error -- prints mysql error message and exits the program. */

Source from the content-addressed store, hash-verified

1426** DB_error -- prints mysql error message and exits the program.
1427*/
1428static void DB_error(MYSQL *mysql_arg, const char *when)
1429{
1430 DBUG_ENTER("DB_error");
1431 maybe_die(EX_MYSQLERR, "Got error: %d: \"%s\" %s",
1432 mysql_errno(mysql_arg), mysql_error(mysql_arg), when);
1433 DBUG_VOID_RETURN;
1434}
1435
1436
1437

Callers 10

fetch_db_collationFunction · 0.85
connect_to_dbFunction · 0.85
dump_tableFunction · 0.85
dump_all_statsFunction · 0.85
dump_all_timezonesFunction · 0.85
init_dumpingFunction · 0.85
dump_all_tables_in_dbFunction · 0.85
dump_all_views_in_dbFunction · 0.85
dump_selected_tablesFunction · 0.85
get_view_structureFunction · 0.85

Calls 3

maybe_dieFunction · 0.85
mysql_errnoFunction · 0.85
mysql_errorFunction · 0.85

Tested by

no test coverage detected