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

Method join

src/remote/client/interface.cpp:1671–1696  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1669
1670
1671ITransaction* Transaction::join(CheckStatusWrapper* status, ITransaction* tra)
1672{
1673/**************************************
1674 *
1675 * I T r a n s a c t i o n :: j o i n
1676 *
1677 **************************************
1678 *
1679 * Functional description
1680 * Join this and passed transactions
1681 * into single distributed transaction
1682 *
1683 **************************************/
1684 try
1685 {
1686 reset(status);
1687 CHECK_HANDLE(transaction, isc_bad_trans_handle);
1688
1689 return DtcInterfacePtr()->join(status, this, tra);
1690 }
1691 catch (const Exception& ex)
1692 {
1693 ex.stuffException(status);
1694 }
1695 return NULL;
1696}
1697
1698
1699Transaction* Transaction::validate(CheckStatusWrapper* /*status*/, IAttachment* testAtt)

Callers

nothing calls this directly

Calls 4

CHECK_HANDLEFunction · 0.85
DtcInterfacePtrClass · 0.85
resetFunction · 0.70
stuffExceptionMethod · 0.45

Tested by

no test coverage detected