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

Method unlock

sql/log.h:297–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295 void lock_shared() { mysql_rwlock_rdlock(&LOCK_logger); }
296 void lock_exclusive() { mysql_rwlock_wrlock(&LOCK_logger); }
297 void unlock() { mysql_rwlock_unlock(&LOCK_logger); }
298 bool is_log_table_enabled(uint log_table_type);
299 bool log_command(THD *thd, enum enum_server_command command);
300

Callers 6

flush_logsMethod · 0.45
flush_general_logMethod · 0.45
fix_logFunction · 0.45
fix_log_outputFunction · 0.45
session_updateMethod · 0.45
session_value_ptrMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected