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

Method cleanupTransaction

src/jrd/replication/Replicator.cpp:442–458  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

440}
441
442void Replicator::cleanupTransaction(CheckStatusWrapper* status,
443 SINT64 number)
444{
445 try
446 {
447 BatchBlock block(getPool());
448 block.header.traNumber = number;
449 block.buffer = m_manager->getBuffer();
450 block.putTag(opCleanupTransaction);
451
452 flush(block, FLUSH_SYNC, BLOCK_END_TRANS);
453 }
454 catch (const Exception& ex)
455 {
456 ex.stuffException(status);
457 }
458}
459
460void Replicator::setSequence(CheckStatusWrapper* status,
461 const char* genName,

Callers 1

REPL_trans_cleanupFunction · 0.45

Calls 3

putTagMethod · 0.80
getBufferMethod · 0.45
stuffExceptionMethod · 0.45

Tested by

no test coverage detected