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

Method releaseSavepoint

src/jrd/replication/Replicator.cpp:262–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260}
261
262void Replicator::releaseSavepoint(CheckStatusWrapper* status, Transaction* transaction)
263{
264 try
265 {
266 auto& txnData = transaction->getData();
267
268 txnData.putTag(opReleaseSavepoint);
269
270 if (txnData.getSize() > m_config->bufferSize)
271 flush(txnData, FLUSH_OVERFLOW);
272 }
273 catch (const Exception& ex)
274 {
275 ex.stuffException(status);
276 }
277}
278
279void Replicator::rollbackSavepoint(CheckStatusWrapper* status, Transaction* transaction)
280{

Callers 2

cleanupSavepointMethod · 0.45
REPL_save_cleanupFunction · 0.45

Calls 4

putTagMethod · 0.80
getDataMethod · 0.45
getSizeMethod · 0.45
stuffExceptionMethod · 0.45

Tested by

no test coverage detected