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

Method startSavepoint

src/jrd/replication/Replicator.cpp:245–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243}
244
245void Replicator::startSavepoint(CheckStatusWrapper* status, Transaction* transaction)
246{
247 try
248 {
249 auto& txnData = transaction->getData();
250
251 txnData.putTag(opStartSavepoint);
252
253 if (txnData.getSize() > m_config->bufferSize)
254 flush(txnData, FLUSH_OVERFLOW);
255 }
256 catch (const Exception& ex)
257 {
258 ex.stuffException(status);
259 }
260}
261
262void Replicator::releaseSavepoint(CheckStatusWrapper* status, Transaction* transaction)
263{

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected