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

Method releaseBuffer

src/jrd/replication/Manager.cpp:242–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240}
241
242void Manager::releaseBuffer(UCharBuffer* buffer)
243{
244 fb_assert(buffer);
245 buffer->clear();
246
247 MutexLockGuard guard(m_buffersMutex, FB_FUNCTION);
248
249 if (!m_buffers.exist(buffer))
250 m_buffers.add(buffer);
251}
252
253void Manager::flush(UCharBuffer* buffer, bool sync, bool prepare)
254{

Callers 1

releaseTransactionMethod · 0.45

Calls 3

clearMethod · 0.45
existMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected