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

Function TRA_link_cursor

src/jrd/tra.cpp:860–875  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

858
859
860void TRA_link_cursor(jrd_tra* transaction, DsqlCursor* cursor)
861{
862/**************************************
863 *
864 * T R A _ l i n k _ c u r s o r
865 *
866 **************************************
867 *
868 * Functional description
869 * Add cursor to the list of open cursors belonging to this transaction.
870 *
871 **************************************/
872
873 fb_assert(!transaction->tra_open_cursors.exist(cursor));
874 transaction->tra_open_cursors.add(cursor);
875}
876
877
878void TRA_unlink_cursor(jrd_tra* transaction, DsqlCursor* cursor)

Callers 1

DsqlCursorMethod · 0.85

Calls 2

existMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected