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

Method commitRetaining

src/remote/client/interface.cpp:1641–1668  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1639
1640
1641void Transaction::commitRetaining(CheckStatusWrapper* status)
1642{
1643/**************************************
1644 *
1645 * g d s _ c o m m i t _ r e t a i n i n g
1646 *
1647 **************************************
1648 *
1649 * Functional description
1650 *
1651 **************************************/
1652 try
1653 {
1654 reset(status);
1655 CHECK_HANDLE(transaction, isc_bad_trans_handle);
1656
1657 Rdb* rdb = transaction->rtr_rdb;
1658 CHECK_HANDLE(rdb, isc_bad_db_handle);
1659 rem_port* port = rdb->rdb_port;
1660 RefMutexGuard portGuard(*port->port_sync, FB_FUNCTION);
1661
1662 release_object(status, rdb, op_commit_retaining, transaction->rtr_id);
1663 }
1664 catch (const Exception& ex)
1665 {
1666 ex.stuffException(status);
1667 }
1668}
1669
1670
1671ITransaction* Transaction::join(CheckStatusWrapper* status, ITransaction* tra)

Callers 1

end_transactionMethod · 0.45

Calls 4

CHECK_HANDLEFunction · 0.85
release_objectFunction · 0.85
resetFunction · 0.70
stuffExceptionMethod · 0.45

Tested by

no test coverage detected