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

Method ReplTransaction

examples/replication/fbSampleReplicator.cpp:254–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252}
253
254ReplTransaction::ReplTransaction(ReplPlugin* session, ITransaction* transaction, ISC_INT64 number):
255 parent(session), trans(transaction)
256{
257 parent->addRef(); // Lock parent from disappearing
258 trans->addRef();
259 WriteLog(parent->log, "%p\tTransaction started\n", this);
260}
261
262ReplTransaction::~ReplTransaction()
263{

Callers

nothing calls this directly

Calls 1

addRefMethod · 0.45

Tested by

no test coverage detected