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

Function make_transaction

src/remote/client/interface.cpp:9024–9044  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9022
9023
9024static Rtr* make_transaction( Rdb* rdb, USHORT id)
9025{
9026/**************************************
9027 *
9028 * m a k e _ t r a n s a c t i o n
9029 *
9030 **************************************
9031 *
9032 * Functional description
9033 * Create a local transaction handle.
9034 *
9035 **************************************/
9036 Rtr* transaction = FB_NEW Rtr;
9037 transaction->rtr_rdb = rdb;
9038 transaction->rtr_id = id;
9039 transaction->rtr_next = rdb->rdb_transactions;
9040 rdb->rdb_transactions = transaction;
9041 SET_OBJECT(rdb, transaction, id);
9042
9043 return transaction;
9044}
9045
9046
9047static void mov_dsql_message(const UCHAR* from_msg,

Callers 3

executeMethod · 0.70
reconnectTransactionMethod · 0.70
startTransactionMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected