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

Method init

sql/log.cc:234–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232
233
234bool Log_to_file_event_handler::init()
235{
236 if (!is_initialized)
237 {
238 if (opt_log)
239 mysql_log.open_query_log(opt_logname);
240
241 is_initialized= TRUE;
242 }
243
244 return FALSE;
245}
246
247
248void Log_to_file_event_handler::cleanup()

Callers 8

my_strnncoll_ucaFunction · 0.45
my_strnncollsp_ucaFunction · 0.45
my_hash_sort_ucaFunction · 0.45
my_strnxfrm_ucaFunction · 0.45
dispatch_commandFunction · 0.45
add_field_to_listFunction · 0.45
get_internal_charsetFunction · 0.45

Calls 1

open_query_logMethod · 0.80

Tested by

no test coverage detected