MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / make_default_log_name

Function make_default_log_name

sql/mysqld.cc:1526–1529  ·  view source on GitHub ↗

Create the name of the default general log file @param[IN] buff Location for building new string. @param[IN] log_ext The extension for the file (e.g .log) @returns Pointer to a new string containing the name */

Source from the content-addressed store, hash-verified

1524 @returns Pointer to a new string containing the name
1525*/
1526static inline char *make_default_log_name(char *buff,const char* log_ext)
1527{
1528 return make_log_name(buff, default_logfile_name, log_ext);
1529}
1530
1531int init_common_variables(char *arg_mysql_home)
1532{

Callers 1

mysqld.ccFile · 0.85

Calls 1

make_log_nameFunction · 0.85

Tested by

no test coverage detected