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

Method shutdown

src/remote/server/ReplServer.cpp:426–441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

424 }
425
426 void shutdown()
427 {
428 FbLocalStatus localStatus;
429 if (m_replicator)
430 {
431 m_replicator->close(&localStatus);
432 m_replicator = nullptr;
433 }
434 if (m_attachment)
435 {
436 m_attachment->detach(&localStatus);
437 m_attachment = nullptr;
438 }
439 m_sequence = 0;
440 m_connected = false;
441 }
442
443 void replicate(FB_UINT64 sequence, ULONG offset, ULONG length, const UCHAR* data)
444 {

Callers 1

process_threadFunction · 0.45

Calls 2

closeMethod · 0.45
detachMethod · 0.45

Tested by

no test coverage detected