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

Function LCK_query_data

src/jrd/lck.cpp:740–758  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

738
739
740LOCK_DATA_T LCK_query_data(thread_db* tdbb, enum lck_t lock_type, USHORT aggregate)
741{
742/**************************************
743 *
744 * L C K _ q u e r y _ d a t a
745 *
746 **************************************
747 *
748 * Functional description
749 * Perform aggregate operations on data associated
750 * with a lock series for a lock hierarchy rooted
751 * at a parent lock.
752 *
753 **************************************/
754 SET_TDBB(tdbb);
755 Database* const dbb = tdbb->getDatabase();
756
757 return dbb->lockManager()->queryData(lock_type, aggregate);
758}
759
760
761LOCK_DATA_T LCK_read_data(thread_db* tdbb, Lock* lock)

Callers 2

TRA_active_transactionsFunction · 0.85
transaction_startFunction · 0.85

Calls 4

SET_TDBBFunction · 0.85
getDatabaseMethod · 0.80
queryDataMethod · 0.80
lockManagerMethod · 0.80

Tested by

no test coverage detected