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

Function flush_error_log

sql/log.cc:11834–11845  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11832
11833
11834bool flush_error_log()
11835{
11836 bool result= 0;
11837 if (opt_error_log)
11838 {
11839 mysql_mutex_lock(&LOCK_error_log);
11840 if (redirect_std_streams(log_error_file))
11841 result= 1;
11842 mysql_mutex_unlock(&LOCK_error_log);
11843 }
11844 return result;
11845}
11846
11847#ifdef _WIN32
11848struct eventlog_source

Callers 1

reload_acl_and_cacheFunction · 0.85

Calls 1

redirect_std_streamsFunction · 0.85

Tested by

no test coverage detected