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

Function should_stop

sql/sql_repl.cc:3010–3019  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3008}
3009
3010static bool should_stop(binlog_send_info *info, bool kill_server_check= false)
3011{
3012 return
3013 info->net->error ||
3014 info->net->vio == NULL ||
3015 (info->thd->killed &&
3016 (info->thd->killed != KILL_SERVER || kill_server_check)) ||
3017 info->error != 0 ||
3018 info->should_stop;
3019}
3020
3021/**
3022 * wait for new events to enter binlog

Callers 6

wait_new_eventsFunction · 0.85
get_binlog_end_posFunction · 0.85
send_eventsFunction · 0.85
send_engine_eventsFunction · 0.85
send_one_binlog_fileFunction · 0.85
mysql_binlog_sendFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected