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

Function write_log_and_lock

plugin/server_audit/server_audit.cc:1164–1170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1162*/
1163
1164static int write_log_and_lock(const char *message, size_t len, time_t ts)
1165{
1166 lock_operations.rd_lock();
1167 int result= write_log(message, len, ts);
1168 lock_operations.rd_unlock();
1169 return result;
1170}
1171
1172
1173/**

Callers 6

write_log_maybe_lockFunction · 0.85
log_proxyFunction · 0.85
log_connectionFunction · 0.85
log_connection_eventFunction · 0.85
log_tableFunction · 0.85
log_renameFunction · 0.85

Calls 3

write_logFunction · 0.85
rd_lockMethod · 0.45
rd_unlockMethod · 0.45

Tested by

no test coverage detected