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

Method addWithTpb

src/yvalve/DistributedTransaction.cpp:526–543  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

524}
525
526void DtcStart::addWithTpb(CheckStatusWrapper* status, IAttachment* att,
527 unsigned length, const unsigned char* tpb)
528{
529 try
530 {
531 Component toAdd;
532 toAdd.att = att;
533 toAdd.tpbLen = length;
534 toAdd.tpb = tpb;
535
536 components.add(toAdd);
537 att->addRef();
538 }
539 catch (const Exception& ex)
540 {
541 ex.stuffException(status);
542 }
543}
544
545void DtcStart::dispose()
546{

Callers 2

addAttachmentMethod · 0.95

Calls 3

addMethod · 0.45
addRefMethod · 0.45
stuffExceptionMethod · 0.45

Tested by

no test coverage detected