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

Method prepareTransaction

src/jrd/replication/Replicator.cpp:184–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182}
183
184void Replicator::prepareTransaction(CheckStatusWrapper* status, Transaction* transaction)
185{
186 try
187 {
188 auto& txnData = transaction->getData();
189
190 txnData.putTag(opPrepareTransaction);
191
192 flush(txnData, FLUSH_PREPARE);
193 }
194 catch (const Exception& ex)
195 {
196 ex.stuffException(status);
197 }
198}
199
200void Replicator::commitTransaction(CheckStatusWrapper* status, Transaction* transaction)
201{

Callers

nothing calls this directly

Calls 3

putTagMethod · 0.80
getDataMethod · 0.45
stuffExceptionMethod · 0.45

Tested by

no test coverage detected