MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / LogWriter

Method LogWriter

src/jrd/replication/Utils.cpp:77–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75 {
76 public:
77 LogWriter()
78 : m_hostname(getPool()),
79 m_filename(getPool(), fb_utils::getPrefix(IConfigManager::DIR_LOG, REPLICATION_LOGFILE))
80 {
81 char host[BUFFER_LARGE];
82 ISC_get_host(host, sizeof(host));
83 m_hostname = host;
84 m_error = false;
85#ifdef WIN_NT
86 m_mutex = CreateMutex(ISC_get_security_desc(), FALSE, "firebird_repl_mutex");
87#endif
88 }
89
90 ~LogWriter()
91 {

Callers

nothing calls this directly

Calls 3

getPrefixFunction · 0.85
ISC_get_hostFunction · 0.85
ISC_get_security_descFunction · 0.85

Tested by

no test coverage detected