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

Function TRA_unlink_cursor

src/jrd/tra.cpp:878–894  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

876
877
878void TRA_unlink_cursor(jrd_tra* transaction, DsqlCursor* cursor)
879{
880/**************************************
881 *
882 * T R A _ u n l i n k _ c u r s o r
883 *
884 **************************************
885 *
886 * Functional description
887 * Remove cursor from the list of open cursors.
888 *
889 **************************************/
890
891 FB_SIZE_T pos;
892 if (transaction->tra_open_cursors.find(cursor, pos))
893 transaction->tra_open_cursors.remove(pos);
894}
895
896
897void TRA_update_counters(thread_db* tdbb, Database* dbb)

Callers 1

closeMethod · 0.85

Calls 2

findMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected