MCPcopy Create free account
hub / github.com/arkdb/inception / reset_logs

Method reset_logs

sql/binlog.cc:3331–3474  ·  view source on GitHub ↗

Removes files, as part of a RESET MASTER or RESET SLAVE statement, by deleting all logs refered to in the index file. Then, it starts writing to a new log file. The new index file will only contain this file. @param thd Thread @note If not called from slave thread, write start event to new log @retval 0 ok @retval 1 error */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

purge_relay_logsMethod · 0.80
reset_masterFunction · 0.80

Calls 13

mysql_mutex_lockFunction · 0.85
purge_log_get_error_codeFunction · 0.85
my_messageFunction · 0.85
push_warning_printfFunction · 0.85
sql_print_informationFunction · 0.85
mysql_mutex_unlockFunction · 0.85
sql_print_errorFunction · 0.70
my_freeFunction · 0.70
wrlockMethod · 0.45
clearMethod · 0.45
get_gtid_setMethod · 0.45
initMethod · 0.45

Tested by

no test coverage detected