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

Method releaseTransaction

src/jrd/replication/Replicator.cpp:139–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139void Replicator::releaseTransaction(Transaction* transaction)
140{
141 try
142 {
143 auto& txnData = transaction->getData();
144 m_manager->releaseBuffer(txnData.buffer);
145
146 FB_SIZE_T pos;
147 if (m_transactions.find(transaction, pos))
148 m_transactions.remove(pos);
149 }
150 catch (const Exception&)
151 {} // no-op
152}
153
154// IReplicatedSession implementation
155

Callers 1

disposeMethod · 0.45

Calls 4

getDataMethod · 0.45
releaseBufferMethod · 0.45
findMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected