Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Meituan-Dianping/SQLAdvisor
/ flush
Method
flush
sql/log.cc:253–258 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
251
}
252
253
void Log_to_file_event_handler::flush()
254
{
255
/* reopen log files */
256
if (opt_log)
257
mysql_log.reopen_file();
258
}
259
260
/*
261
Log error with all enabled log event handlers
Callers
2
flush_logs
Method · 0.45
LogStats
Method · 0.45
Calls
1
reopen_file
Method · 0.80
Tested by
1
LogStats
Method · 0.36